?? factorial.m
字號:
function f = Factorial(m)% f = Factorial(m) returns the matrix of factorials of entries of m.[r,c] = size(m);f = zeros(r, c);for i = 1:r for j = 1:c f(i,j) = prod(2:m(i,j)); end;end;return;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -