www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/MeanOf3DArrayExample.m
%% Mean of 3-D Array % Create a 4-by-2-by-3 array of integers between 1 and 10 and compute the % mean values along the second dimension. % Copyright 2015 The MathWorks, Inc. A = gallery('integerdata',10,[4,2,3],1); M = mean(A,2)