image thumbnail

Simple Method to Generate a CDF plot

version (1.95 KB) by Rick McConnell
This uses a sort function to quickly and easily plot CDF functions


Updated 25 Oct 2010

View License

If you have a data file and want to plot a cumulative distribution function (CDF) with almost no work, this is the way to go. Also presented is a way to grab some values from the CDF curve, and a way to generate a PDF using standard Matlab functions.

Cite As

Rick McConnell (2022). Simple Method to Generate a CDF plot (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!