MATLAB Examples

Compute the F Distribution pdf

Compute the pdf of an F distibution with 5 numerator degrees of freedom and 3 denominator degrees of freedom.

x = 0:0.01:10;
y = fpdf(x,5,3);

Plot the pdf.

figure;
plot(x,y)

The plot shows that the F distribution exists on positive real numbers and is skewed to the right.