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

1 view (last 30 days)
Could you please tell me how should I approach to this?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 29 Mar 2016
Look at this example
y=@(m) sin(m)
out=sum(y(1:10)) % for m=10

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!