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!