How to divide the space under a normal probability density function (pdf) into equal probable intervals?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello everyone,
I have a random variable normally distributed with known mean and sigma, I want to divide the random variable range into equal probable intervals using the given pdf.
Is there any ready Matlab commands to this? if not do you have some ideas how to do this efficiently?
Thank you very much.
댓글 수: 0
채택된 답변
dpb
2016년 6월 9일
>> p=[0:0.10:1].';
>> mu=2; sigma=1;
>> x=norminv(p,mu,sigma);
>> disp([p x])
0 -Inf
0.1000 0.7184
0.2000 1.1584
0.3000 1.4756
0.4000 1.7467
0.5000 2.0000
0.6000 2.2533
0.7000 2.5244
0.8000 2.8416
0.9000 3.2816
1.0000 Inf
>>
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!