function eN = somma_eN(N) i = 1 : N ; fattoriale_i = [ 1 cumprod( i ) ] ; eN = sum( 1 ./ fattoriale_i ) ; end