1. Define the function f[n] = en/4 sin(n/10)u[n] using Matlab inline function. Plot this function using stem command over [5, 20].
2. Use Matlab inline and stem functions to plot u[n] and delta[n] over [10, 10].
3. find out what Matlab filter function does. Explain how you can use this function to calculate zero state response. Consider the interval [0, 30]:
y[n+2] - 0.6y[n+1] 0.16y[n] = 5x[n+2]
a) Find zero state response if the input is x[n] = (4)nu[n].
b) Find zero state response if the input is x[n] = cos(2n/6)u[n]
c) Find impulse response of the system.
d) Find zero input response to the system with y[1]=1 and y[2]=2 using Matlab filtic function.
e) Find total response using input in part (b) and initial conditions in part (d).
4. Use Matlab conv function to plot the convolution of the following two functions:
x[n] = (0.8)nu[n] and h[n] = (0.3)nu[n]
consider the first 10 terms of each function.