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

1 次查看(过去 30 天)
Could you please tell me how should I approach to this?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by