www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/StandardDeviationOfVectorExample.m

    %% Standard Deviation of Matrix Columns
% Create a matrix and compute the standard deviation of each column.

% Copyright 2015 The MathWorks, Inc.

A = [4 -5 1; 2 3 5; -9 1 7];
S = std(A)