symsum wave harmonics along a string
이전 댓글 표시
답변 (2개)
Walter Roberson
2015년 5월 17일
0 개 추천
In order to use symsum() you would need to be using a symbolic formula with at least one symbolic variable in it. There is nothing in your definition of u that is obviously a free variable. Is w_n your free free variable? Perhaps, but you have written your Fw_n in terms of w_n and tau with tau not defined.
댓글 수: 7
JDilla
2015년 5월 17일
JDilla
2015년 5월 17일
Walter Roberson
2015년 5월 17일
What precisely is it that you would like to total? You show a double-nested loop and you show a plot inside one of the loops. You have k=5: is k the harmonic number, and for "first 5 harmonics" you would like to add another level of nested loop over k ? Or is w_n your harmonic number?
"My desired output would be a symbolic function P in the parameters R, and S. It would be the sum of a symbolic function Q over R, S, and H over H from 1 to 5 where H is the harmonic number. Q(R,S,H) is defined as ...." ???
Walter Roberson
2015년 5월 17일
Your first sin() appears to have x subscript s. What is that? Your second sin() has x without the subscript, and I cannot assume that x(s) and x are the same because if that were the case then your two sin() terms would be the same and you would have written the expression as sin^2() rather than as two terms.
카테고리
도움말 센터 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
