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

    %% Mean of a Skewed Distribution  

%% 
% Create a Weibull probability distribution object. 
pd = makedist('Weibull','a',5,'b',2)  

%% 
% Compute the mean of the distribution. 
mean = mean(pd)