www.gusucode.com > stats 源码程序 matlab案例代码 > stats/ComputeTheLognormalDistributionCdfExample.m
%% Compute the Lognormal Distribution cdf % % Copyright 2015 The MathWorks, Inc. %% % Compute the cdf of a lognormal distribution with |mu = 0| and |sigma = % 1|. x = (0:0.2:10); y = logncdf(x,0,1); %% % Plot the cdf. plot(x,y); grid; xlabel('x'); ylabel('p');