필터 지우기
필터 지우기

How to plot a probability distribution object?

조회 수: 11 (최근 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