how can i plot means of a data set?
Show older comments
i have an array of variable y, 32 x 247 in dimension and which i wish to work out the column means for and then plot in order to represent a mean graph of the 32 individual signals.
i can access the means to each column in 'data statistics' of the plot function, but cannot then make the means be represented in graphical form on the same axes.
thanks
thanks for the answer
Data=rand(32,247); % Example data_mean=mean(Data,2); plot(data_mean);
- but the output is only 32 mean values, of each row, rather than 247 mean values, of each column. how can i obtain the means of the columns rather than the rows?
Accepted Answer
More Answers (0)
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!