% Function to evaluate the area under the gamma distribution

% Passes back a single argument containing f(x) for the normal PDF function

function f = chi(x);
global NU

f = 0.5^(NU/2) * x.^(NU/2-1) .* exp(-0.5 .* x) / gamma(NU/2) ;
