Weibull and lognormal distribution

Hello everyone!
I am new on matlab and trying to figure my data. I have set of data for stress of material and I want to show them in Weibull and lognormal reliability plot.
Can anyone guide me how to plot reliability by use weibull two parameters and log normal distribution

Answers (1)

pd=fitdist(stress,'Weibull');
PD=fitdist(stress,'Lognormal');
x=1:100;%whatever you want for your value range based on your data
W=pdf(pd,x);
L=pdf(PD,x);
plot(x,W,x,L);

Asked:

on 31 Jan 2020

Answered:

on 31 Jan 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!