How to take the z transform of a delayed unit step using ztrans?

8 views (last 30 days)
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
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
Azzi Abdelmalek
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??

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!