Weibull and lognormal distribution
Show older comments
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
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);
Categories
Find more on Exploration and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!