MATLAB: How to average the columns for the respective rows to draw a graph

averagegraph

Hi!
So right now I have a data set of 76×2000, so thats 76 rows with 2000 data each. I want to average those 2000 data, and get a single value for each of the 76 rows.
After this, I want to graph those single values as the y-axis, and x-axis as 1-76 "units".
Thank you very much for your help!

Best Answer

This works:
M = randi(99, 76, 2000); % Create Matrix
RowMean = mean(M,2);
x = 1:size(M,1);
figure(1)
plot(x, RowMean)
grid