Cumulative distribution function for non-normal distribution

I have data that is not normally distributed and I'm trying to create its CDF; any idea please?
Thanks

 Accepted Answer

Have you looked at ecdf function?
data_dis=ecdf(data);
CDF normally suppress to more occurrence and boos the fewer occurrence events

5 Comments

Kaylyan, Thanks for your help. How would you plot it and find the 10 percentile value? and is there a better way to show the values where the range in the x-axis is between 3 and 4?
How can I share it? I have a vector with size of 1000,000 X 1
it is ok I got it. Thank you so much for you help; truly appreciate it.
My Pleasure @Yaser Khoja

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!