plot the probabilty density function and its cdf
no vote
this script plots histograms of data points and also plots the cumulative density functions of two sequences. User can modify the script to their needs and can change the desired data points or can convert this script into a Function.
This script has two sequences A and B as:
A = [10 10 10 5 3 3 3 2 0];
B = [10 10 10 5 5 3 3 2 2 2 1 0];
This is a simple script to understand the pdf and cdf.