How to re-index summation bounds in mupad
1 次查看(过去 30 天)
显示 更早的评论
I am attempting to find the series solution to and ODE with mupad and I am trying to make mupad reindex the bounds on the solution when trying to substitute n=n-1 or n=n-2 several steps in and change the starting bound by + 1 in the derivative of the assumed solution
y = x^m*sum(a(n)*x^n, n=0..infinity) , for example when m = 0 the a(0) term should disappear in y' thus changing the bounds from n=0..infinity to n=1..infinity.
I can change the bounds using subs a couple of times but is there a way for mupad to change the bounds when taking the derivative of y and re-index the bounds and exponents when necessary
If anybody knows how to accomplish this your efforts would be appreciated, thank you.
0 个评论
采纳的回答
Walter Roberson
2012-10-25
The MuPAD operation subsop can be used to alter the bounds. I don't think there is any direct MATLAB interface to this, however.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!