Therefore, X(z) - s3.amazonaws.com

advertisement
Q.1)
โ‹ˆ
X(z) = ∑ x(n)๐‘ง −๐‘›
๐‘˜=−โ‹ˆ
x(n) = ((4/3)^n)*u(1-n)
Therefore, X(z) = ∑
โ‹ˆ
4 n
๐‘˜=−โ‹ˆ
((3) ) ∗ u(1 − n) ∗ ๐‘ง −๐‘›
Since, u(n) = 1 for n>=0
Therefore, u(1-n) = 1 for n<=1
Therefore, X(z) = ∑
1
4 n
๐‘˜=−โ‹ˆ
Therefore, X(z) = ∑
โ‹ˆ
๐‘˜=−1
((3) ) ∗ ๐‘ง −๐‘›
3 n
((4) ) ∗ ๐‘ง ๐‘›
Now, we know that the sum of convergent geometric series
1
1 + r + ๐‘Ÿ 2 + ๐‘Ÿ 3 + โ‹ฏ = 1−๐‘Ÿ ; when |r| < 1 ----(1)
Therefore, X(z) = (3/4 * ๐‘ง)−1 +
1
3
4
1− ๐‘ง
16
Therefore, X(z) = 3๐‘ง∗(4−3๐‘ง)
Also, from (1) above, since |r| < 1 so |(3/4)*z| < 1
This implies that |z| < 4/3
Therefore, ROC is |z| < 4/3
Matlab Code :
You can use the following code and check :
clc;
clear all;
close all;
n=[-10:1:5];
for i=1:size(n)
if(n(i) <= 1)
x(i)=(4/3).^n(i);
else
x(i)=0;
end
end
F = ztrans(x,n,z);
disp(F);
Q.2)
๐‘๐‘–
Here, it is given that x(n) = 1/2๐‘› ∗ cos ( 4 (๐‘› − 1)) ∗ ๐‘ข(๐‘› − 1)Therefore X(z) =
โ‹ˆ
1 ,๐‘› ≥ 1
∑๐‘˜=1 x(n)๐‘ง −๐‘› (Since, u(n-1) = {
)
0, ๐‘œ๐‘กโ„Ž๐‘’๐‘Ÿ๐‘ค๐‘–๐‘ ๐‘’
Now, by the convolution property,
If two functions x1(n) and x2(n) are multiplied in time domain, it is equivalent to
convolution of their respective z-transforms, and vice-versa.
๐‘๐‘–
Here, x1(n) = 1/2๐‘› and x2(n) = cos ( 4 (๐‘› − 1))
Therefore, X1(z) =
1
2
( )∗๐‘ง −1
1
2
1−( )∗๐‘ง −1
and X2(z) =
๐‘ง∗(√2−
1
)−1
√2
๐‘ง 2 −√2๐‘ง+1
Therefore, the final answer X(z) should be convolution of X1(z) with X2(z).
Once we get required X(z), we need to find in terms of partial fractions so that
we get proper fractions. So it should look like :
๐‘0∗๐‘ง −1
X(z) = r๐‘ง −1 + 1+๐‘Ž0๐‘ง −1 +๐‘Ž1๐‘ง −2 + …
Thus, we from each of the fractions we find the ROC’s and finally obtain the
required ROC using set theory, i.e., ROC = ROC1โ‹‚๐‘…๐‘‚๐ถ2โ‹‚๐‘…๐‘‚๐ถ3 ….
The poles and zeroes are plotted by equating denominators and numerators,
respectively, to zero.
Matlab code :
Convolution can be found using command :
conv(X1,X2)
[r,p,k] = residue(b,a); this command gives partial fraction form of resulting z
transform.
In order to find pole-zero map, the following can be done :
H= tf([2 5 1],[1 2 3]); (the numbers here are just an example of the numerator
and denominator coefficients)
pzmap(H)
Q.3)
Here, it is given that x(n) = ((1/2)^n)*u(n) ⇔ ๐‘‹(๐‘ง)
We need to find x1(n) ⇔ zX(๐‘ง −1)
We must first find X(z) which comes as
Therefore, X(๐‘ง −1 ) =
1
1
1
1− ๐‘ง −1
2
1
1− ๐‘ง
2
๐‘ง
Therefore, z X(๐‘ง −1 ) =
1
2
1− ๐‘ง
Now it’s inverse z transform can be found by reducing it to partial fraction.
Matlab :
In matlab, by giving iztrans(
๐‘ง
1
2
1− ๐‘ง
), the inverse z transform can be found.
Q.4)
This problem is quite easy. Just expand the function X(z) first.
Matlab Code :
Using iztrans command the inverse z transform can be found and using pzmap,
pole-zero map can be plotted.
Q.6)
First, reduce the given function to partial fraction form.
Next, find the inverse z transforms of each of these partial fractions. This gives
the inverse z transform of the function (by linearity property).
We can plot this x(n) against ‘n’ using the plot(n,x) command specifying the
points of ‘n’.
Download