How to plot a probability distribution object?

20 ビュー (過去 30 日間)
Rightia Rollmann
Rightia Rollmann 2018 年 4 月 26 日
回答済み: Star Strider 2018 年 4 月 26 日
How can I, for example, plot the probability distribution object below?
pd = makedist('Normal','mu',75,'sigma',10);

採用された回答

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by