DLTI Systems and Z Transform
DLTI Systems and Z Transform
DLTI Systems and Z Transform
RIT Dubai
EEEE 789
Problem 1
a. Solve the following difference equations
b. Using MATLAB compute the output and plot them.
Solution
%a)
a=.5;b=[02];
n=0:30;
y0=0;
x0=0;
x=zeros(size(n));
x(1)=1;
y=recur(a,b,n,x,x0,y0);
subplot(221),stem(n,y)
title(1a))
xlabel(n)
ylabel(y[n])
y(1:5)%displaysyforn=0to5,usedtodoublecheckhandanswers
%b)
a=2;b=[02];
n=0:30;
y0=0;
x0=0;
x=zeros(size(n));
x(1)=1;
y=recur(a,b,n,x,x0,y0);
subplot(222),stem(n,y)
title(1b))
xlabel(n)
ylabel(y[n])
y(1:5)
%c)
a=[1.2.32];b=[11];
y0=[12];
x0=0;
x=ones(size(n));
y=recur(a,b,n,x,x0,y0);
subplot(223),stem(n,y)
title(1c))
xlabel(n)
ylabel(y[n])
y(1:5)
Problem 2
6 Z
Discrete Time Systems and
Transform
Problem 2 Solution
Problem 2 Solution
Problem 3
Compute the z-transform of the discrete-time signals
(a)-(j). Express your answer as a ratio of polynomials
in z whenever possible.
9 Z
Discrete Time Systems and
Transform
Problem 3 Solution
10
Problem 3 Solution
11
roblem 3 Solution
12
Problem 3 Solution
13
syms x n z
x=heaviside(n)-heaviside(n-1)+2*(heavisi de(n-l)heaviside(n-2))
X=simplify(ztrans(x))
syms x n z
x=heaviside(n)-heaviside(n2)+2*heaviside(n-2)
X=simplify(ztrans(x))
14
syms x n z
x=exp(0.5*n)* (heaviside(n)-heaviside(n-2))
+heaviside(n-2);
X- simplify(ztrans(x))
15
16
syms x n z
x=(n-l)*heaviside(n)n*heaviside(n-3);
X=simplify(ztrans(x))
syms x n z
x=(0.25"{n))*heaviside{n-2);
x-=simplify(ztrans(x))
17
Problem 4
Compute the inverse z-transform x[n] of the
transforms (a)-(h).
18
Problem 4 Solution
19
Problem 4 Solution
20
Problem 4 Solution
21
Problem 5
Find the inverse z-transform x[n] of the transforms
that follow. Determine x[n] for all n.
22
Problem 5 Solution
23
Problem 5 Solution
24
Problem 5 Solution
25