This m-file returns the mode 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 = wblmode(a,b)
Inputs:
a - scale parameter
b - shape parameter
Output:
x - mode
Antonio Trujillo-Ortiz (2021). wblmode (https://www.mathworks.com/matlabcentral/fileexchange/54692-wblmode), 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.