write a symbolic sum
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Torsten
2017년 4월 10일
Why symbolic ?
Use
f = sum(x)
Best wishes
Torsten.
댓글 수: 1
mohamad momeni
2017년 4월 15일
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!