www.gusucode.com > stats 源码程序 matlab案例代码 > stats/CreateAStableDistributionObjectUsingSpecifiedParametersExample.m
%% Create a Stable Distribution Object Using Specified Parameters %% % Create a stable distribution object by specifying the parameter values % |alpha = 0.5|, |beta = 0|, |gam = 1|, and |delta = 0|. pd = makedist('Stable','alpha',0.5,'beta',0,'gam',1,'delta',0); %% % Calculate the mean of the distribution. m = mean(pd) %% % The mean of the stable distribution is undefined for values of |alpha| % less than or equal to 1.