📄 prodc.m
字号:
function m=prodc(x);% PURPOSE: compute product of each column% -----------------------------------------% USAGE: m = prodc(x)% where: x = input matrix (or vector) of length nobs% -----------------------------------------% RETURNS: m = matrix or vector containing products% of the columns% -----------------------------------------% NOTE: a Gauss compatibility function% -----------------------------------------% written by:% James P. LeSage, Dept of Economics% University of Toledo% 2801 W. Bancroft St,% Toledo, OH 43606% jpl@jpl.econ.utoledo.edum=prod(x);if size(m,2)>1; m=m';end;return;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -