How to take the z transform of a delayed unit step using ztrans?
Show older comments
To simplify what I want to do say I need to take the z transform of a delayed unit step. In my professors notes the following was done for the unit step:
syms k
ek=1^k;
Ez=ztrans(ek)
Ez =
z/(z - 1)
The result is what is expected. So how would you define ek for a delayed unit step? For example let's say I want the z transform of u(k-2).
Thanks!
Answers (1)
Azzi Abdelmalek
on 5 Sep 2013
Edited: Azzi Abdelmalek
on 5 Sep 2013
%heavyside(0)=1/2 not 1
It's like you have step(k)+0.5*kronecker(k) then it's z transform will be
z/(z-1)+1/2
3 Comments
Ricker Snow
on 5 Sep 2013
Edited: Ricker Snow
on 5 Sep 2013
Azzi Abdelmalek
on 5 Sep 2013
1^k is not a step function, it's constant
Azzi Abdelmalek
on 8 Nov 2014
Asia Khan commented
I have the same query?? How to take the z transform of a delayed unit step using ztrans???? please tell me??
Categories
Find more on Programming 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!