Statistics Toolbox | ![]() ![]() |
Weibull cumulative distribution function (cdf)
Syntax
Description
P = weibcdf(X,A,B)
computes the Weibull cdf at each of the values in X
using the corresponding parameters in A and B. Vector or matrix inputs for X
, A, and B must all have the same size. A scalar input is expanded to a constant matrix with the same dimensions as the other inputs. The parameters in A and B must be positive.
Examples
What is the probability that a value from a Weibull distribution with parameters a
= 0.15
and b
= 0.24
is less than 500?
How sensitive is this result to small changes in the parameters?
[A,B] = meshgrid(0.1:0.05:0.2,0.2:0.05:0.3); probability = weibcdf(500,A,B) probability = 0.2929 0.4054 0.5000 0.3768 0.5080 0.6116 0.4754 0.6201 0.7248
See Also
cdf
, weibfit
, weibinv
, weiblike
, weibpdf
, weibplot
, weibrnd
, weibstat
![]() | var | weibfit | ![]() |