How to Sum a product between 0 to N-1 points.

1 view (last 30 days)
How to achieve Multiply and Addition of N discrete points from (0 to N-1) using Matlab. For Example FFT,FIR,IIR Filters,MAC unit

Accepted Answer

Walter Roberson
Walter Roberson on 11 Jan 2014
sum(A .* (0:N-1))
  1 Comment
Shravankumar P
Shravankumar P on 13 Jan 2014
Sir, Thank you for your response, can you please look at this and provide me an example code for that.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by