%% Plot Pochhammer Symbol
% Plot the Pochhammer symbol from n = 0 to n = 4 for x. Use axis to display the region of interest.

syms x
fplot(pochhammer(x,0:4))
axis([-4 4 -4 4])

grid on
legend('n = 0','n = 1','n = 2','n = 3','n = 4','Location','Best')
title('Pochhammer symbol (x)_n for n=0 to n=4')

% Copyright 2012 The MathWorks, Inc.