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

    %% Compute the Lognormal Distribution Inverse cdf
%

% Copyright 2015 The MathWorks, Inc.


%%
% Compute the inverse cdf of a lognormal distribution with |mu = 0| and
% |sigma = 0.5|.
p = (0.005:0.01:0.995);
crit = logninv(p,1,0.5);

%%
% Plot the inverse cdf.
figure;
plot(p,crit)
xlabel('Probability');
ylabel('Critical Value');
grid