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