![]() |
matlab中如何实现连乘
例如使用牛顿插值20次多项式,其中
Π(x-xi) 如何实现? (不希望使用for循环,matlab中是否有自带函数) |
回复: 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. |
所有时间均为北京时间。现在的时间是 03:17。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.