You are on page 1of 6

Q#1:n=1:0.

01:10;
num=[0.2];
den=[1 -0.52 +0.68];
x=cos(2*pi*0.5*n);
freqz(num,den,x)

zplane(num,den)

ROC:
Converge for all except zeros

Q#2:-

num= [2 16 44 56 32]
den = [3 3 -15 18 -12]
Zeros and poles along plot
[z,p,k]=tf2zp(num,den)
z = -4.0000
-2.0000
-1.0000 + 1.0000i
-1.0000 - 1.0000i
p = -3.2361
1.2361
0.5000 + 0.8660i
0.5000 - 0.8660i
k=
0.6667
zplane(num,den);
zplane(num,den);

Factored form
sos= zp2sos(z,p,k)
sos =
0.6667

4.0000

5.3333

1.0000

2.0000 -4.0000

1.0000

2.0000

2.0000

1.0000 -1.0000

1.0000

G(z)=(0.6667+ 4.0000z-1 + 5.3333z-2)( 1.0000 + 2.0000z-1 -4.0000z-2)


(1.0000 + 2.0000z-1 +2.0000z -2 )( 1.0000 -1.0000 z-1 +1.0000z-2)

ROC
R1: IzI>3.23
R2: 3.23> IzI>1.23
R3: 1.23>IzI>1
R4: 1> IzI0
Q#3:-

num=[18 0 0 0];
den=[18 3 -4 -1];
[r,p,k]=residuez(num,den)
r =0.3600
0.2400
0.4000
p =0.5000
-0.3333
-0.3333
k=0
G=
9/25/(3/2-1/2*z)+6/25/(67/100+33/100*z)+2/5/(133/100-33/100*z)
zplane(num,den);

ROC:
If left sided signal:ROC :- inside the circle of radius 0.35
If right sided:ROC:- outside the circle of radius 0.5
Q#4:-

syms z
syms cos
syms n
a=ztrans(10*cos*2*n)
a=
20*cos*z/(z-1)^2
syms n
a=ztrans((1/4)^n);
a=ztrans((1/4)^n)
a =4*z/(4*z-1)
ROC:- right sided :- outside the circle of radius
left sided :- inside the circle of radius 1/4

Q#5:-

Unit step:syms x n;
x=heaviside(n);
Xz=ztrans(x)
X=iztrans(Xz)
Xz =
z/(z-1)
X=
1
ROC:
|z|>1
&(n-m):syms x n m;
x=dirac(n-m);
Xz=ztrans(x)
X=iztrans(Xz)
Xz =
ztrans(dirac(n-m),n,z)
X=
dirac(n-m)
ROC:
All z except zero or inf.
a^n*u[n]:syms a x n;
x=a^n.*heaviside(n);
Xz=ztrans(x)
X=iztrans(Xz)
Xz =
z/a/(z/a-1)
X=
a^n
ROC:
|z|>|a|
n*a^n*u[n]:syms a x n;
x=n.*a^n.*heaviside(n);
Xz=ztrans(x)
X=iztrans(Xz)
Xz =
z*a/(-z+a)^2

X=
n*a^n
ROC:
|z|<|a|
cos(wn)*u(n)
syms w x n;
x=cos(w*n).*heaviside(n);
Xz=ztrans(x)
X=iztrans(Xz)
Xz =
(z-cos(w))*z/(z^2-2*z*cos(w)+1)
X=
cos(w*n)
ROC:
|z|>1
sin(wn)*u(n)
syms w x n;
x=sin(w*n).*heaviside(n);
Xz=ztrans(x)
X=iztrans(Xz)
Xz =
z*sin(w)/(z^2-2*z*cos(w)+1)
X=
sin(w*n)
ROC:
|z|>1
Q#6:ROCs of above questions are given beneath them.

You might also like