This m-file returns the median of the Weibull distribution with scale (A>0) and shape (B>0) parameters.
Weibull distribution is a mainly used for reliability or survival data. Its complementary cumulative distribution function is a stretched exponential function.
Syntax: function x = wblmedian(a,b)
Inputs:
a - scale parameter
b - shape parameter
Output:
x - median
Antonio Trujillo-Ortiz (2021). wblmedian (https://www.mathworks.com/matlabcentral/fileexchange/54691-wblmedian), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.