Digital Signal Processing Reference
In-Depth Information
% y is a column vector containing the DT output
% signal time expanded by N
Use linear interpolation based on the neighboring samples to predict any
required unknown values in x [ k ].
1.34 (M ATLAB exercise) Construct a DT signal given by
0 . 003 k ) cos( π k / 20)
x [ k ] = (1 e
for 0 k
120 .
(i) Sketch the signal using the stem function.
(ii) Using the mydecimate (Problem P1.30) and myinterpolate
(Problem P1.31) functions, transform the signal x [ k ] based on the
operation y [ k ] = x [ k / 5] followed by the operation z [ k ] =
y [5 k ].
What is the relationship between x [ k ] and z [ k ]?
(iii) Repeat (ii) with the order of interpolation and decimation reversed.
Search WWH ::




Custom Search