I have to calculate the sum of multiple coefficients which depends upon the value 'm'.

2 Ansichten (letzte 30 Tage)
Could you please tell me how should I approach to this?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 29 Mär. 2016
Look at this example
y=@(m) sin(m)
out=sum(y(1:10)) % for m=10

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by