Limit term in symsum output
Show older comments
Hi ,the following code gives a limit term in the output which is of no use . How to remove it?
syms a n z;
assume(abs(z)>abs(a));
X_z=symsum(((a)*z^-1)^n,n,0,inf)
simplify(X_z)

5 Comments
Alan Stevens
on 8 Aug 2020
To remove it you need to supply values for a and z.
Shelby Sajjad
on 8 Aug 2020
Alan Stevens
on 8 Aug 2020
Come to think of it, it's just a geometric progression, so the result is: 1 + (a/z)/(1 - a/z) or just z/(z - a), as long as |a/z|<1
Shelby Sajjad
on 8 Aug 2020
Alan Stevens
on 8 Aug 2020
The answer of z/(z-a) is what I put in my previous reply. (Note: not z/z-a, which reduces to 1-a)
Answers (0)
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!