www.gusucode.com > stats 源码程序 matlab案例代码 > stats/GenerateANormalProbabilityPlotExample.m
%% Generate a Normal Probability Plot % % Copyright 2015 The MathWorks, Inc. %% % Generate random sample data from a normal distribution with |mu = 10| and % |sigma = 1|. rng default; % For reproducibility x = normrnd(10,1,25,1); %% % Create a normal probability plot of the sample data. figure; normplot(x) %% % The plot indicates that the data follows a normal distribution.