write a symbolic sum
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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?
Answers (1)
Torsten
on 10 Apr 2017
Why symbolic ?
Use
f = sum(x)
Best wishes
Torsten.
1 Comment
mohamad momeni
on 15 Apr 2017
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!