how to calculate this equation in matlab?
Show older comments

for i, n >3
can i calulate or generate any program for this equation.
6 Comments
VM Sreeram
on 13 Jun 2023
John D'Errico
on 13 Jun 2023
Edited: John D'Errico
on 13 Jun 2023
Sure. you CAN calculate it. You could start with the known sum of a geometric series, for the internal sum on the powers of 2.
And then you could use a simple loop to compute that product. Or, you could create a vector of elements, and then use prod.
But, since this is probably homework, and you have made no attempt at all, you should start writing. Make an effort, and you would get more help. Make no effort at all, and we tell you to learn MATLAB, and to make an effort.
Torsten
on 13 Jun 2023
Since the upper limit of the product is 3 and i is assumed to be greater than 3, the product is empty. By convention, its value is 1. Thus the result of your expression is n*(n-1)*(n-2)*1/2.
Kajal Agrawal
on 14 Jun 2023
Dyuman Joshi
on 14 Jun 2023
Please show what you have attempted.
Kajal Agrawal
on 14 Jun 2023
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!