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

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

 Réponse acceptée

sum(A .* (0:N-1))

1 commentaire

Sir, Thank you for your response, can you please look at this and provide me an example code for that.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by