function fatt = fattoriale_ricorsivo( n ) if n > 1 fatt = n * fattoriale_ricorsivo( n-1 ) ; else fatt = 1 ; end end