www.gusucode.com > stats 源码程序 matlab案例代码 > stats/CreateAWeibullProbabilityPlotExample.m
%% Create a Weibull Probability Plot % % Copyright 2015 The MathWorks, Inc. %% % Generate a vector |r| containing 50 random numbers from a Weibull % distribution with parameters |A = 1.2| and |B = 1.5|. rng default; % For reproducibility r = wblrnd(1.2,1.5,50,1); %% % Create a Weibull probability plot to visually determine if the data % comes from a Weibull distribution. figure; wblplot(r) %% % The plot indicates that the data likely comes from a Weibull % distribution.