chi2pdf
Chi-square probability density function (PDF).
For each element of x, compute the probability density function (PDF) at x of the chi-square distribution with df degrees of freedom. The size of y is the common size of x and df. A scalar input functions as a constant matrix of the same size as the other inputs.
See also: chi2cdf, chi2inv, chi2rnd, chi2stat
Source Code: chi2pdf