Weibull and lognormal distribution

4 views (last 30 days)
Sattar shehak
Sattar shehak on 31 Jan 2020
Answered: David Hill on 31 Jan 2020
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)

David Hill
David Hill on 31 Jan 2020
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);

Community Treasure Hunt

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

Start Hunting!