I want to calcualte the average and standard deviation for one column of a 1000×10 matrix.
Is there a quicker/efficient way or should I use existing code :
theSum = 0;for k = 1 : length(x) theSum = theSum + x(k);endtheMean = theSum / length(x);
Best Answer