Beruflich Dokumente
Kultur Dokumente
Exercise
1) Plot the following discrete time signals in MATLAB.
|𝑛| 𝑢(−𝑛)
A) 𝑥(𝑛) = { }B)𝑥(𝑛) = 2 𝑐𝑜𝑠(10𝜋𝑛) 𝑢(𝑛)C)𝑥(𝑛) = 𝑠𝑖𝑛(𝜋𝑛) + 2𝑐𝑜𝑠(2𝜋𝑛)
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
2) If 𝑀 = 2 is the down sampling factor and 𝐿 = 2 is the up sampling factor, plot x[n] and
y[m] in the same plane using MATLAB and justify the results for the following two cases.
a)
b)