Find value for a specific probability in probplot

2 views (last 30 days)
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?

Accepted Answer

dpb
dpb on 22 Aug 2016
Use the resulting output from fitdist and then norminv...
fd=fitdist(vector,'normal');
p50=norminv(0.5,fd.mu,fd.sigma);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!