Statistics Toolbox    
cdf

Computes a chosen cumulative distribution function (cdf)

Syntax

Description

P = cdf('name',X,A1,A2,A3) returns a matrix of probabilities, where name is a string containing the name of the distribution, X is a matrix of values, and A, A2, and A3 are matrices of distribution parameters. Depending on the distribution, some of these parameters may not be necessary.

Vector or matrix inputs for X, A1, A2, and A3 must have the same size, which is also the size of P. A scalar input for X, A1, A2, or A3 is expanded to a constant matrix with the same dimensions as the other inputs.

cdf is a utility routine allowing you to access all the cdfs in the Statistics Toolbox by using the name of the distribution as a parameter. See Overview of the Distributions for the list of available distributions.

Examples

See Also

betacdf, binocdf, chi2cdf, expcdf, fcdf, gamcdf, geocdf, hygecdf, icdf, logncdf, mle, nbincdf, ncfcdf, nctcdf, ncx2cdf, normcdf, pdf, poisscdf, random, raylcdf, tcdf, unidcdf, unifcdf, weibcdf


  ccdesign cdfplot