0
votes
1answer
317 views

solve an difference equation's particular solution with unit step input

I have a question like this $y[n] - \frac 2 5y[n-1] = 2x[n]$ and $x[n] = 2u[n]$, the manual say that $y^p[n] = k u[n]$ and subtitute it into the equation will become $ k - \frac 25k = 4$. But I think ...
1
vote
1answer
110 views

Number of Zero-crossing

I have written an algorithm that calculates the number of zero-crossings within a signal. By this, I mean the number of times a value changes from + to - and vise versa. The algorithm is explained ...
0
votes
1answer
157 views

Solving Difference Equation

I have the following equation: $$\frac{Z-1}{{Z^2}-2Z+6}$$ I tried to apply difference equation on it: $$y_{n+2}-5y_{n-1}-6y_n = x_{n+1}-x_n$$ I need to find equation expressed as $y_n$ I have the ...
1
vote
1answer
962 views

Visualize a difference equation with Matlab [closed]

I have a difference equation for a Single Pole Infinite Impulse Response Filter, defined on a discrete time-series: $y[n]-(1-\alpha)*y[n-1]=\alpha*x_n$ While the []s brackets refer to a position n ...
0
votes
1answer
199 views

How to apply the solution of $y(n) = (0.85)y(n-1) + x(n)$ to data

I learned how to solve difference equation $y(n) = (0.85)y(n-1) + x(n)$ using z Transform, and inverse z Transform, I get $h(n) = 0.85^n u(n)$ where $u(n)$ is unit step sequence. Now my ...