Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail

MATLAB 7 Fundamentos

by

 

09 Aug 2004 (Updated )

Companion Software for the book "MATLAB 7 Fundamentos"

fatorial (n)
function fn = fatorial (n)
if n<=1
    fn = 1;
else
    fn = n * fatorial(n-1);
end

Contact us