MATLAB: Write a program that implements the difference equation

difference equation

Y(n) = X(n) – X(n-1)
where X (n) is the sampled data points in the file. Plot Y and X. Note that the difference equation above implements a high pass filter

Best Answer

Okay, done! And I have taken note just like you said.