Filter löschen
Filter löschen

How to plot a probability distribution object?

11 Ansichten (letzte 30 Tage)
Rightia Rollmann
Rightia Rollmann am 26 Apr. 2018
Beantwortet: Star Strider am 26 Apr. 2018
How can I, for example, plot the probability distribution object below?
pd = makedist('Normal','mu',75,'sigma',10);

Akzeptierte Antwort

Star Strider
Star Strider am 26 Apr. 2018
Use the pdf function:
pd = makedist('Normal','mu',75,'sigma',10);
x = 25:125;
y = pdf(pd, x);
figure
plot(x,y)
grid

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by