%% Factorial of Unsigned Integer Values

n = uint64([5 10 15 20]);
f = factorial(n)

% Copyright 2012 The MathWorks, Inc.