Consider the difference equation given as follows: y(n) = 0.5 y(n-1) + x(n) + x(
ID: 1831035 • Letter: C
Question
Consider the difference equation given as follows:y(n) = 0.5 y(n-1) + x(n) + x(n-1), n > 0and y(n) = 0 for n < 0.
using MATLAB Find and plot y(n) for the following case: x(n) = r(n) – r(n – 9), where r(n) is the unit-rampsequence.
i'm not sure how to do this in matlab. Can anyone help me out?? I'dappreciate any help and would rate lifesaver. Consider the difference equation given as follows:
y(n) = 0.5 y(n-1) + x(n) + x(n-1), n > 0and y(n) = 0 for n < 0.
using MATLAB Find and plot y(n) for the following case: x(n) = r(n) – r(n – 9), where r(n) is the unit-rampsequence.
i'm not sure how to do this in matlab. Can anyone help me out?? I'dappreciate any help and would rate lifesaver.