Code covered by the BSD License
function fn = fatorial (n) if n<=1 fn = 1; else fn = n * fatorial(n-1); end
Contact us at files@mathworks.com