| Statistics Toolbox | Search  Help Desk |
| weibinv | Examples |
Inverse of the Weibull cumulative distribution function.
Syntax
X = weibinv(P,A,B)
Description
weibinv(P,A,B) computes the inverse of the Weibull cdf with parameters A and B for the probabilities in P. The arguments P, A and B must all be the same size except that scalar arguments function as constant matrices of the common size of the other arguments. The parameters A and B must be positive. The inverse of the Weibull cdf is:
Examples
A batch of light bulbs have lifetimes (in hours) distributed Weibull with parameters a = 0.15 and b = 0.24. What is the median lifetime of the bulbs?life = weibinv(0.5,0.15,0.24) life = 588.4721What is the 90th percentile?
life = weibinv(0.9,0.15,0.24) life = 8.7536e+04