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

2 visualizzazioni (ultimi 30 giorni)
Could you please tell me how should I approach to this?

Risposta accettata

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

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by