Professional Documents
Culture Documents
Task 1:
Two operations on a signal’s independent variables are commonly encountered i.e., shifting and
scaling. We have already talked about both operations in lecture # 5. Inline objects can be one easy
way to investigate both operations. In this exercise you have flexibility of using any method to define
your function.
Hint:
The unit step function u(t) arises naturally in many practical situations. With the help of relational
operators, inline objects can represent the unit step function. The unit step function is readily defined
using the >= relational operators, like
Task 2:
Let x(n) = {1,2, 3, 4, 5, 6, 7, 6, 5, 4, 3, 2, 1}. Determine and plot the following sequences.
a. x1(n) = 2x(n - 5) - 3x(n + 4)
b. x2(n) = x(3 - n) + x(n)x(n - 2)
Hint:
Page 1 of 2
Verifying System Properties:
Task 4:
Consider the discrete-time system y[n] = n x[n]. Use MATLAB to verify whether the system is Time
Invariant or not. Take n from -10 to 20.
Task 5:
Repeat Task4 for the system y[n] = (x[n+1] + x[n] + x[n-1])/3 (It is moving average filter with M=1)
%% The moving average filter is a simple Low Pass FIR (Finite Impulse Response) filter commonly
used for smoothing an array of sampled data/signal. It takes LL samples of input at a time and takes
the average of those LL-samples and produces a single output point.
Page 2 of 2