필터 지우기
필터 지우기

show probabilities (-inf+inf, -3dev-3dev and so on....)

조회 수: 2 (최근 30일)
Amer Al-Maashani
Amer Al-Maashani 2021년 1월 28일
편집: James Tursa 2021년 1월 28일
show probabilities (-inf+inf, -3dev-3dev and so on....)
>> mu = 12.5;
sigma = 3.75;
xs = [0:.01:25];
ys = normpdf(xs, mu, sigma);
clf;
plot(xs, ys);
Follow with the mean and std
  댓글 수: 9
James Tursa
James Tursa 2021년 1월 28일
"show probabilities (-inf+inf, -3dev-3dev and so on....)"
I have no idea what is being asked for here. Cumulative probability between the two values? Or ...?
Amer Al-Maashani
Amer Al-Maashani 2021년 1월 28일
'by integrating pdf You can find the probability of the signal apperance in given level ranges' teacher's explanation.

댓글을 달려면 로그인하십시오.

채택된 답변

James Tursa
James Tursa 2021년 1월 28일
편집: James Tursa 2021년 1월 28일
"Integrating pdf" and "probability ... in given level ranges" sounds like the teacher wants you to use the cdf to get the cumulative probability between a range of values. E.g., maybe this is what is being asked:
>> mu = 12.5;
>> sigma = 3.75;
>> pd = makedist('Normal','mu',mu,'sigma',sigma); % Make a Normal pdf
>> cdf(pd,inf) - cdf(pd,-inf) % the integrated probablility between -inf and +inf
ans =
1
>> cdf(pd,mu+3*sigma) - cdf(pd,mu-3*sigma) % the integrated probablity between mu-3sigma and mu+3sigma
ans =
0.9973

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Least Squares에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by