z transform of a left handed sequence
Show older comments
Hello. I want to calculate z trnasform of the following sequence : 
how can i do it without doing the math? The first part of sequence is easy I just need to subtract the elements of n=0 and n=1 from the
but for the second part i need to use math and that's a bother to be honest. Is there a way to just calculate the z transform of a left handed sequence or a command for
and
?
and
?here's what I've got so far
clear; close; clc
syms n z
yp1 = ztrans((1/3)^n)
v = (1/3)^n * z^-n
yp2 = symsum(v,n,0,1)
Yp = yp1-yp2
YPs = simplify(Yp)
y1 = n*2^n*z^-n
v = symsum(y1,n,0,inf)
meq = simplifyFraction(children(v,1))
eqn = YPs + meq
1 Comment
Accepted Answer
More Answers (0)
Categories
Find more on z-transforms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



