MATLAB Answers

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

173 views (last 30 days)
Syed on 10 Jul 2013
Commented: Eoin Roe on 19 Nov 2020
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 ∏?

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.
Eoin Roe
Eoin Roe on 19 Nov 2020
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)

Sign in to comment.



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!