Limit term in symsum output

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

To remove it you need to supply values for a and z.
But i want to keep answer in symbolic format. Actually i want to find z-transform without using inbuilt function. The answer through symsum is ok but this limit term is useless
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
But the answer from ztrans is z/z-a. Is there a way to get that?
The answer of z/(z-a) is what I put in my previous reply. (Note: not z/z-a, which reduces to 1-a)

Sign in to comment.

Answers (0)

Tags

Asked:

on 8 Aug 2020

Commented:

on 8 Aug 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!