How to utilize 'symsum' in this case?
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm trying to write this in MATLAB code, but when I try to use 'symsum' here, it requires that term Y_j and t_i should be expressed in 'j' and 'i', but
in this case, these terms are arbitrary numbers. For this reason, I guess using loop(e.g: for, while...) should be better, but I have no idea of using it. Are there better techniques that I never thought of?
댓글 수: 0
답변 (1개)
Star Strider
2022년 5월 17일
Try something like this —
syms i j t Y
Eq = symsum(Y,j,2,5) * (symsum(t,i,1,j)^2 - symsum(t,i,1,j-1)^2)
.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!