symsum wave harmonics along a string
显示 更早的评论
PLEASE CLOSE THIS
回答(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!
