Digital Signal Processing Reference
In-Depth Information
LV xComplexPowerSeries(cn,maxPwr)
and which creates the plots shown in Fig. 2.15, where
cn
is a complex number which is raised to the
powers 0:1:
maxP wr
.
function LVxComplexPowerSeries(cn,maxPwr)
% Raises the complex number cn to the powers
% 0:1:maxPwr and plots the magnitude, the real
% part, the imaginary part, and real v. imaginary parts.
% Test calls:
% LVxComplexPowerSeries(0.69*(1 + j),50)
% LVxComplexPowerSeries(0.99*exp(j*pi/18),40)
22. Determine if the following difference equations represent stable LTI systems or not:
y
[
n
]=
x
[
n
]+
y
[
n
−
1
]
[
]=
[
]+
[
−
]
y
n
x
n
1
.
05
y
n
1
y
[
n
]=
x
[
n
]+
0
.
95
y
[
n
−
1
]
y
[
n
]=
x
[
n
]+
1
.
2
y
[
n
−
2
]
y
[
n
]=
x
[
n
]−
1
.
2
y
[
n
−
2
]
y
[
n
]=
x
[
n
]−
1
.
8
y
[
n
−
1
]−
0
.
8
y
[
n
−
2
]
y
[
n
]=
x
[
n
]−
1
.
8
y
[
n
−
1
]+
0
.
8
y
[
n
−
2
]
y
[
n
]=
x
[
n
]+
1
.
27
y
[
n
−
1
]−
0
.
81
y
[
n
−
2
]
y
[
n
]=
x
[
n
]−
1
.
27
y
[
n
−
1
]+
0
.
81
y
[
n
−
2
]
23. Compute and plot the response of the following systems ((a) through (e) below) to each of the
following three signals:
x
[
n
]=
u
[
n
]−
u
[
n
−
32
]
and
x(n) = [1, zeros(1,100)]
and
x(n) = chirp([0:1/1000:1],0,1,500)