Estimate the imply for every field in S by using the arrayfun purpose. mean returns vectors that contains the imply of every column, Therefore the suggests can't be returned being an array. To return the means inside a cell array, specify the 'UniformOutput',Untrue name-value pair. Aside from, the assure of http://zaneoqrpo.blogdigy.com/do-my-matlab-assignment-an-overview-16680592