I have to calculate the sum of multiple coefficients which depends upon the value 'm'.
2 views (last 30 days)
Show older comments
Could you please tell me how should I approach to this?
2 Comments
Accepted Answer
Azzi Abdelmalek
on 29 Mar 2016
Look at this example
y=@(m) sin(m)
out=sum(y(1:10)) % for m=10
0 Comments
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!