Find value for a specific probability in probplot

조회 수: 2 (최근 30일)
Marco Kapfenberger
Marco Kapfenberger 2016년 8월 22일
댓글: dpb 2016년 8월 22일
I have several vectors containing data points. I then use
probplot(gca,vector,[],[],'noref') % and
fitdist(vector,'normal')
to plot these points and create fits for each vector. The Result looks like seen in the image.
For further purposes I now want to know for each fit at which x-value it would have a probability of 50%. (For example in this image R1's fit has a probability of 50% at x=100, U8's at x=87 etc...)
For now I used the data cursor to do this manually, does anybody have an idea how I could implement this in my code?

채택된 답변

dpb
dpb 2016년 8월 22일
Use the resulting output from fitdist and then norminv...
fd=fitdist(vector,'normal');
p50=norminv(0.5,fd.mu,fd.sigma);
  댓글 수: 2
Marco Kapfenberger
Marco Kapfenberger 2016년 8월 22일
Thanks! That's exactly what I needed.
dpb
dpb 2016년 8월 22일
I know... vbg

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by