I have still another problem with chi2 in Matlab:
How can I compute the vector c.d.f.
This doesn't work
chi2([0:0.01:1],3) ?
EDIT
I was trying to obtain the 3 numbers from the bottom snippet (for $m=3$) but I've obtained different numbers:
mean(chi2pdf([0:0.01:1],3))
ans =
0.1979
max(chi2pdf([0:0.01:1],3))
ans =
0.2420
