www.gusucode.com > stats 源码程序 matlab案例代码 > stats/ZScoresMeanandStandardDeviationExample.m
%% Z-Scores, Mean, and Standard Deviation % Return the mean and standard deviation used to compute the $z$-scores. %% % Load the sample data. load lawdata %% % Two variables load into the workspace: |gpa| and |lsat|. %% % Return the $z$-scores, mean, and standard deviation of |gpa|. [Z,gpamean,gpastdev] = zscore(gpa)