Error: Unexpected MATLAB expression.
显示 更早的评论
I simply do not understand how there is an error here,
>> f = symsum((1/(2*n-1))*sin((2*n-1)2*x), n, 1, 5)
↑ Error: Unexpected MATLAB expression.
To clarify the arrow is pointing at the "2" next to "x".
Edit: I have defined x and n as symbolic, but the error still occurs.
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!