MATLAB: Mean

urgent

I have a 76×5 matrix and would like to convert this to a 76×1 matrix whose rows are the mean of each of the rows of the original matrix. Can anybody help me?
Thanks in advance.

Best Answer

A=rand(76,5); m=mean(A,2);