www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/StandardDeviationOfArrayExample.m
%% Standard Deviation of 3-D Array % Create a 3-D array and compute the standard deviation along the first dimension. % Copyright 2015 The MathWorks, Inc. A(:,:,1) = [2 4; -2 1]; A(:,:,2) = [9 13; -5 7]; A(:,:,3) = [4 4; 8 -3]; S = std(A)