Chi-square probability density function
chi2pdf
is a function specific to the chi-square
distribution. Statistics and Machine Learning Toolbox™ also offers the generic function pdf
, which supports various probability distributions. To use
pdf
, specify the probability distribution name and its
parameters. Note that the distribution-specific function
chi2pdf
is faster than the generic function
pdf
.
Use the Probability Distribution Function app to create an interactive plot of the cumulative distribution function (cdf) or probability density function (pdf) for a probability distribution.