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

    %% Create a Normal Probability Plot Using Frequency Data

%%
% Generate simulated frequency data.
y = 1:10;
freq = [2 4 6 7 9 8 7 7 6 5];


%%
% Create a normal probability plot using the frequency data.
probplot(y,[],freq)

%%
% The normal probability plot shows that the data do
% not have a normal distribution.