Problem 5: Use the z-transform to solve the difference equation
y(k) \- 3y(k \- 1) + 2y(k \- 2) = 2u(k \- 1) \- 2u(k \- 2)
u(k) = \begin{cases} k, & k \ge 0 \\ 0, & k < 0 \end{cases}
and y(k) = 0, for k < 0.
[Note, the input is a ramp]
Problem 6: For the difference equation in Problem 5, solve using MATLAB.
(Hint: check our 'dstep' and 'dlsim' in MATLAB).