write a symbolic sum
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
hi, I've been trying to write a formula in matlab, but for more size how can i write it? i wanna write this: f=x(1)+x(2)+...+x(300). is there any code to write this?
Réponses (1)
Torsten
le 10 Avr 2017
Why symbolic ?
Use
f = sum(x)
Best wishes
Torsten.
1 commentaire
mohamad momeni
le 15 Avr 2017
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!