Matlab command for the following symbol: ∏ (Capital Pi / product of a sequence of terms)
131 次查看(过去 30 天)
显示 更早的评论
Hi
I have an equation that i want to implement in Matlab and it has the following symbol ∏ (used to denote Capital Pi or the product of a sequence of terms).
I want to know what is the matlab command for ∏?
0 个评论
采纳的回答
更多回答(1 个)
Jan
2013-7-10
编辑:Jan
2013-7-10
prod computes the product of the elements of a vector or array. This is near to the definition of your Pi, but not exactly the same, e.g. you cannot define the limits equivalently.
3 个评论
Jan
2013-7-10
See Matt J's comment.
I suggest to use the documentation to find out such solutions by your own. While the indexing methods are explained exhaustively (I love this term when I speak about Matlab's documentation) in the "Getting Stared" chapters, you can find the prod() function e.g. by:
docsearch product
Eoin Roe
2020-11-19
I know this was asked some time ago but for anyone browsing this page in the future there is also this:
symprod(f, k, a, b)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!