Evaluating the CDFPlot at a specific point

8 Ansichten (letzte 30 Tage)
Maximilian Arpaio
Maximilian Arpaio am 13 Aug. 2018
Kommentiert: Sedo am 12 Mär. 2020
Dear all, I have a set of Power values stored in an array which I've then plotted as a CDF via the CDFPlot function. I got a nice curve but now I want to calculate F(x) which means knowing the value of the CDF at a specific point. I surfed the community but found no topic about my current issue but - maybe - using some interpolating functions to retrieve its value for a specific power level. Is it possible ? It sound strange to me since I've plotted the graph. Any help or clarification would be appreciated ! Regards to all

Akzeptierte Antwort

Maximilian Arpaio
Maximilian Arpaio am 17 Sep. 2018
Dear all,
thanks for the feedbacks and sorry for my late reply.
Actually I came to a good solution on my own. As a matter of fact, I've realized that it is possible to retrieve the requested info in the following manner:
Plot=cdfplot(variable)
Xvalues=Plot.XData % values along X
Yvalues=Plot.YData % values along Y
In my case, this solution works like a charm. Please let me know whether I am taking the wrong assumptions. I hope my findings will be helpful to others. Cheers from Italy !

Weitere Antworten (1)

Maximilian Arpaio
Maximilian Arpaio am 14 Aug. 2018
Hi Stephan, thanks for your comments.
I was aware of the CDF(pd,x) function in Matlab but it doesn't fit my needs. As far as I understood, this function works when pd is known, i.e. Weibull, Normal, Log-Normal... which is not my case. I have no idea about the way my distribution looks like and for this reason I've used cdfplot and not any other custom funcion when PD is known.
How do I get the F(X) value, i.e P(X<x), for a specific x ?

Community Treasure Hunt

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

Start Hunting!

Translated by