summation and products of series in matlab

How to implement in matlab the product PiPi+1...Pi+k and then taking summation from i=0 to n-k-1

Answers (1)

If the series is an array, you could just do a
sum(Array)
or
prod(array)
to get the results.

Categories

Asked:

on 3 Dec 2013

Answered:

ES
on 3 Dec 2013

Community Treasure Hunt

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

Start Hunting!