chi-squared probability distribution
[f]=chis_pdf(x,a)
* x = a (nxm) matrix
* a = a scalar or a (nxm) matrix
* f = a matrix of pdf at each element of x from chisq(a) or chisq(same element of a) distribution
y=chis_pdf([1:4],2) // Provides the (1x4) vectors of probabilities that a chi-square is greater than 1, 2, 3 and 4 respectively. y=chis_pdf([1:4],2*ones(1,4)) // Do exactly the same thing | ![]() | ![]() |