Community Profile

photo

Murugan C


73 total contributions since 2015

I am a good experience at MATLAB - Script.

Contact

Murugan C's Badges

  • 5-Star Galaxy Level 1
  • First Submission
  • 3 Month Streak
  • Revival Level 2
  • Promoter
  • Knowledgeable Level 2
  • Commenter
  • First Answer
  • Solver
  • Thankful Level 1

View details...

Contributions in
View by

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

3 days ago

Answered
Plot cell array starting from the second element
hi, use below code to extract cell from 2 and plot. cell_extra = a(2:end); plot(cell_extra);

5 days ago | 0

| accepted

Answered
How to remove displayed edit boxes when the user changes the number of inputs in GUI?
H Ahmed Abed, You should delete handles information which you were created. Please use below code. in 'NumberOfLayers_Callb...

24 days ago | 1

| accepted

Answered
How to set a start and restart button for counter model?
Hi, attached up and down counter. Here i didn't created any button for up and down counter.

4 months ago | 0

Answered
How can i enter the input in MATLAB GUI ?
Hi Yusuf, I have created simple layout for your queris. I hope this attached gui files should resolve your issue. If it is not, ...

4 months ago | 0

Question


Find variable value overwritten in M file and Simulink.
How do we find variable value overwrite in M file and Simulink. Here I have writen very simple code. Does matlab has any too...

4 months ago | 0 answers | 0

0

answers

Answered
How to save a GUI figure in matlab
we can use the saveas command to save your Figure OR GUI to a specific file format as like below. If you press Save Fig button...

4 months ago | 0

Answered
Help forming loop to simplify my code
Hello Wilson, Please try below code. clc clear %These will be displayed in the legend of the graph %Times should be in t...

4 months ago | 0

| accepted

Solved


Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if x = [1 2...

4 months ago

Solved


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

4 months ago

Answered
Storing values from a for loop
Hi, CustAmt = input('How many customers would you like to examine?: '); for x = 1:CustAmt Cust(x).name = input('What...

5 months ago | 0

Answered
what is scenario of simulink and stateflow
Hi, If our/your concepts has state based, then we should use stateflow otherwise wil use simulink. For example, In car, Gear b...

5 months ago | 0

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 months ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

5 months ago

Answered
how to subtract small window from an image by shifting pixel by pixel
Hi, inp_img = double(imread('cameraman.tif')); figure subplot(1,2,1); imshow(inp_img,[]); sub_mask_window = [14 25 16; 6 32...

5 months ago | 0

| accepted

Answered
How i can write array cell to excel sheet using loops?
Hi ahamd, use below script. % with for loop input_data = {'glcm11','glcm12','glcm13','glcm14'}; for i = 1 : length(input_dat...

5 months ago | 0

Answered
How to find Matlab Function blocks in a model?
Hi Hadi Zyien Yes, We have to use find_system to find matlab function block. After that, we need to use get_param command for...

5 months ago | 0

Answered
PNSR formula psnr=20.0* (log10(255/sqrt(mse)));
Hi Faizullah We can use 1 instead of 255, if your input image is logical (max pixel range is 1 ) or your image is uint8 then y...

5 months ago | 1

| accepted

Answered
How can I solve if condition in for loop matrix?
Hi use below code for your query. Here, B will check all rows, each column in A is less than, then it will allow to next iter...

5 months ago | 0

| accepted

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

5 months ago

Solved


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

5 months ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

5 months ago

Solved


Create vector as shown in test cases
Create vector as shown in test cases

5 months ago

Solved


Return area of square
Side of square=input=a Area=output=b

5 months ago

Solved


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

5 months ago

Solved


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

5 months ago

Solved


Create a vector
Create a vector from 0 to n by intervals of 2.

5 months ago

Solved


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

5 months ago

Solved


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

5 months ago

Solved


inner product of two vectors
inner product of two vectors

5 months ago

Load more