nisp_expcdf — Computes the Exponential CDF.
p = nisp_expcdf ( x , lambda )
This function computes the Exponential CDF. This function is vectorized but all the input arguments must have the same size.
// http://en.wikipedia.org/wiki/Exponential_distribution scf(); x = linspace(0,5,1000); p = nisp_expcdf ( x , 0.5 ); plot(x,p, "r-" ); p = nisp_expcdf ( x , 1 ); plot(x,p, "m-" ); p = nisp_expcdf ( x , 1.5 ); plot(x,p, "c-" ); xtitle("Exponential Cumulated Distribution Function","X","P(X)"); legend(["lambda=0.5","lambda=","lambda=1.5"]);