Community Profile

photo

Anu


Last seen: 22 dagar ago Active since 2021

Statistics

  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Question


How do we define the colors in the MarkerFaceColor for the plots containing lines and points?
I am plotting a graph where I have nine speakers (see the attached). I am not sure why the color of S8_M is the same as S1_F, an...

ungefär 2 månader ago | 1 answer | 0

1

answer

Question


How do we change only the height of the subplots?
I want to increase the height of the subplots in a figure. I checked many MATLAB answers, but unfortunately, nothing is working ...

3 månader ago | 0 answers | 0

0

answers

Question


How to find average and standard deviation in a for loop?
I have a mat file with 70 rows and 11 columns (see the attached). I want to find the mean and standard deviation row-wise with a...

3 månader ago | 1 answer | 0

1

answer

Question


how to do scatter plot and color code the values?
I have 6 variables: x, y, I, theta, time, and LED (see attached the mat file). The LED is a sinusoidal signal. I want to scatter...

4 månader ago | 3 answers | 0

3

answers

Question


Smoothing a noisy signal
I want to smooth my noisy data using the moving average. I also want to vary the rolling window and check how different rolling ...

4 månader ago | 1 answer | 0

1

answer

Question


How do we shift the cell of a variable and replace it by NaN?
I have a variable x. The x contains a large number of values. When I open x in the workspace, I see the first value is in the 1s...

4 månader ago | 1 answer | 0

1

answer

Question


How do I rename the .mat files in a for loop?
I have 1000 .mat files. for example, angle1.mat, angle2.mat, angle3.mat.....angle1000.mat. I want to rename these respective fil...

4 månader ago | 1 answer | 0

1

answer

Answered
Compare each image with another
Thanks, @Image Analyst, The code is really helpful. folder = 'C:\Users\anusu\Downloads\figures\New folder'; filePattern = ful...

4 månader ago | 0

Question


natsortfiles is not working for .png files
I have downloaded the FEX from https://uk.mathworks.com/matlabcentral/fileexchange/47434-natural-order-filename-sort To sort so...

5 månader ago | 1 answer | 0

1

answer

Question


Plot line colors and legend colors don't match, & error bars don't show the points in the plot
Please see attached the files. When I run my code with shaded error bars, I got the output where the legend color does not match...

6 månader ago | 1 answer | 0

1

answer

Question


How do we plot graphs from excel file?
I have 100 output files in a folder. The output files are named as output1.xlsx, output2.xlsx, output3.xlsx, and so on. There ar...

6 månader ago | 1 answer | 0

1

answer

Question


How to plot a graph by extracting the variables from each .mat file?
I have 10 .mat files in a folder. The name of each file is mean1.mat, mean2.mat, mean3.mat, and so on. In each mat file I have ...

6 månader ago | 1 answer | 0

1

answer