主题: [MATLAB基础] matlab中如何实现连乘
查看单个帖子
旧 2010-11-06, 22:46   #2
zsy312
普通会员
 
注册日期: 2008-08-17
年龄: 43
帖子: 77
声望力: 18
zsy312 正向着好的方向发展
默认 回复: matlab中如何实现连乘

当然是prod函数了:
PROD Product of elements.
For vectors, PROD(X) is the product of the elements of X. For
matrices, PROD(X) is a row vector with the product over each
column. For N-D arrays, PROD(X) operates on the first
non-singleton dimension.
zsy312 当前离线   回复时引用此帖