www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/FactorialofArrayElementsExample.m

    %% Factorial of Array Elements  

%%  
n = [0 1 2; 3 4 5];
f = factorial(n)