No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.1 | 14 ratings Rate this file 17 Downloads (last 30 days) File Size: 1.27 KB File ID: #4426 Version: 1.0
image thumbnail



Alex Bar-Guy (view profile)


02 Feb 2004 (Updated )

CDFPLOT displays a plot of the Empirical Cumulative Distribution Function (CDF) of the input array.

| Watch this File

File Information

cdfplot(X) displays a plot of the Empirical Cumulative Distribution Function (CDF) of the input array X in the current figure. The empirical CDF y=F(x) is defined as the proportion of X values less than or equal to x. If input X is a matrix, then cdfplot(X) parses it to the vector and displays CDF of all values.


This file inspired Plotcdfkuiper.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (18)
17 Apr 2012 fangfang liao

useful, but i don't know how to set the input

31 May 2010 Ioannis Xirouchakis

very good, thank you for uploading

20 Jan 2010 Damilola Sadiq O.

Thanks, it seems to work well, at least for vectors.

Comment only
08 Apr 2009 Chris Men

good for use

Comment only
04 Nov 2008 Archange Akenou


I have a vector X of data. And I want to know the cumulative probability that X is below 5%: Prob(X<5%). X does not follow a specific probability distribution.
Which function can do that?

Comment only
15 Feb 2008 Jeremiah Kiptala

works well for array; matrix not sure. good

17 Oct 2006 hamed h

true.. plots are all blue.. where did he get the colored pic from??!!!

28 Mar 2006 Krishna Pillai

thanks. it is useful

Comment only
20 Dec 2005 meng yusong

it is what I want

08 Dec 2005 al gor

All plots remain with the same blue color

18 Nov 2005 J Q

07 Oct 2005 h h


27 Sep 2005 harry sheng

very useful

22 Aug 2005 Eric Setton

12 Apr 2005 Alberto Castro

Como anillo al dedo!

30 Oct 2004 Se Young Eun

16 Jul 2004 Kei Mizutani


26 Feb 2004 Debang Lao

Contact us