www.gusucode.com > stats 源码程序 matlab案例代码 > stats/ComputeAndPlotRayleighDistributionCdfExample.m
%% Compute and Plot Rayleigh Distribution cdf % % Copyright 2015 The MathWorks, Inc. %% % Compute the cdf of a Rayleigh distribution with parameter |B = 1|. x = 0:0.1:3; p = raylcdf(x,1); %% % Plot the cdf. figure; plot(x,p)