0
$\begingroup$

I have the following difference equation: $y[n]=y[n-2]-0.25y[n-4]+x[n]-x[n-2]$ I need to find the first 6 values of the impulse response of the system characterized by that equation. When I do that, the values I get are: $[1,0,0,0,-0.25,0]$, starting from index zero. I have the answer, which states that the right response is $[1,0,0,0,-0.25,1]$. I really cannot find my mistake; any help will be appreciated.

$\endgroup$
  • 1
    $\begingroup$ Your answer is correct. Why don't you program it to check your result? $\endgroup$ – Matt L. Dec 26 '14 at 12:35
  • $\begingroup$ I did that, but I always get the same result (as expected). Thanks a lot! $\endgroup$ – Mojo Dec 26 '14 at 12:51
-1
$\begingroup$

Answers in textbooks are not necessarily right.. I have got the same answer as you ;)

If you are not sure that your method is right, you can always test digital systems on your PC (matlab, scilab, python, octave, or almost in any language )

$\endgroup$
  • $\begingroup$ Thank you very much for the response. I wanted to double-check my result. $\endgroup$ – Mojo Dec 26 '14 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.