I NEED MATLAB CODE. PLEASE DON'T WRITE IT ON PAPER, WRITE THE CODE ON THE COMPUTER PLEASE!!!
A discrete-time system has the following unit-pulse response:
h[n] = (0.5 - 0.25)u[n]
Find the response of this system to x[n] when:
(a) x[n] = u[n]
(b) x[n] = sin(nπ/4)u[n]
(c) x[n] = u[n] + sin(nπ/4)u[n]
I need MATLAB code. Please don't write it on paper, write the code on the computer please.