Evaluating the CDFPlot at a specific point

조회 수: 8 (최근 30일)
Maximilian Arpaio
Maximilian Arpaio 2018년 8월 13일
댓글: Sedo 2020년 3월 12일
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

채택된 답변

Maximilian Arpaio
Maximilian Arpaio 2018년 9월 17일
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 !

추가 답변 (1개)

Maximilian Arpaio
Maximilian Arpaio 2018년 8월 14일
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 ?

카테고리

Help CenterFile Exchange에서 Exploration and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by