Difference Equations: Solve the following difference equation using recursion by hand (for n=0 to n=4) y[n] + 0.5y[n-1] = 2x[n-1]; x[n] = ?[n], y[-1] = 0
Solution
Del n =0 for n = 0 and -1 for n < 0 and 1 for n > 0.
So, using this we get
.
Difference Equations- Solve the following difference equation using re.docx
Difference Equations- Solve the following difference equation using re.docx
1. Difference Equations: Solve the following difference equation using recursion by hand (for n=0
to n=4) y[n] + 0.5y[n-1] = 2x[n-1]; x[n] = ?[n], y[-1] = 0
Solution
Del n =0 for n = 0 and -1 for n < 0 and 1 for n > 0.
So, using this we get
n x(n) y(n) y(n-1) x(n-1)
0 0 -2 0 -1
1 1 1 -2 0
2 1 1.5 1 1
3 1 1.25 1.5 1
4 1 1.375 1.25 1