Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2008-03-09
年龄: 37
帖子: 3
声望力: 0 ![]() |
![]()
例如使用牛顿插值20次多项式,其中
Π(x-xi) 如何实现? (不希望使用for循环,matlab中是否有自带函数) |
![]() |
![]() |
![]() |
#2 |
普通会员
注册日期: 2008-08-17
年龄: 43
帖子: 77
声望力: 18 ![]() |
![]()
当然是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. |
![]() |
![]() |