MATLAB Answers

Matlab command for the following symbol: ∏ (Capital Pi / product of a sequence of terms)

190 views (last 30 days)
Syed on 10 Jul 2013
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 ∏?


Sign in to comment.

Accepted Answer

More Answers (1)

Jan on 10 Jul 2013
Edited: Jan on 10 Jul 2013
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.


Jan on 10 Jul 2013
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

Sign in to comment.

Sign in to answer this question.