Documente Academic
Documente Profesional
Documente Cultură
Remember:
x[n ] [n k ]
x [ k ],n k
0,else
Notations:
x0 [n] x[n] [n 0] x[0] [n 0] x[0], n 0
x1[n] x[n] [n 1] x[1] [n 1] x[1], n 1 notes
Representation of Discrete-Time Signals - Example
We call this the convolution sum y[n] x[k ]h[n k ] x[n] * h[n]
k
y[n] h[k ]x[n k ] h[n] * x[n]
k
Remember:
h[ n] * [n n0 ] h[n n0 ] * [n] h[n n0 ]
Convolution for Discrete-Important Properties
By definition
Multiplication
[n ]g [n n0 ] [n ]g[ n0 ]
Properties of Convolution
Commutative
Associative
Distributive
Example
Given the following block diagram
Find the difference equation
Find the impulse response: h[n]; plot h[n]
Figure 10.3
Is this an FIR (finite impulse response) or IIR system?
Given x[1]=3, x[2]=4.5, x[3]=6, Plot y[n] vs. n
Plot y[n] vs. n using Matlab FIR system contains finite
number of nonzero terms
1
Difference equation y[n] ( x[n] x[n 1] x[n 2])
3
... x[n 3]h[3] x[n 2]h[2] x[n 1]h[1] x[n 0]h[0] x[n 1]h[1] ....
x[n 2]h[2] x[n 1]h[1] x[n 0]h[0]
Example cont.
Given the following block diagram
Find the difference equation
Find the impulse response: h[n]; plot h[n]
Is this an FIR (finite impulse response) or IIR system?
Given x[1]=3, x[2]=4.5, x[3]=6, Plot y[n] vs. n Figure 10.3
Plot y[n] vs. n using Matlab
In terms of inputs:
y[ n] ... x[n 3]h[3] x[ n 2]h[ 2] x[ n 1]h[1] x[n 0]h[0] x[n 1]h[1] ....
x[n 2]h[2] x[n 1]h[1] x[n 0]h[0]
Example
Consider the following difference equation:y[n]=ay[n-1]+x[n]
Draw the block diagram of this system
Find the impulse response: h[n]
Is it a causal system?
Is this an IIR or FIR system?
Example
Consider the following difference equation:y[n]=ay[n-1]+x[n];
Draw the block diagram of this system
Find the impulse response: h[n]
Is this an IIR or FIR system?
We assume x[n]=[n]
y[n]=h[n]=ah[n-1]+[n];
y[0]=h[0]=1
y[1]=h[1]=a
y[2]=h[2]=a^2
y[3]=h[3]= a^3 Causal system (current and past)
h[n]=a^n ; n>=0
It is IIR (unbounded)
Example
Assume h[n]=0.6^n*u[n] and x[n]=u[n] x[n] y[n]
h[n]
Find the expression for y[n]
Plot y[n]
Plot y[n] using Matlab
y[n] h[k ]x[n k ] h[n] * x[n]
k y[0]=1
n y[1]=1.6
0.6 u[n k ]u[k ] 0.6
k
k
k 0
k
2.5[1 0.6 n 1 ]; n 0 ..
y(100)=2.5
Steady State Value is 2.5
Remember These Geometric Series:
Properties of Discrete-Time LTI Systems
Memory: y[n] x[k ]h[n k ] x[n] * h[n]
k
A memoryless system is a pure gain
system: iff h[n]=K[n];
K=h[0] = constant & h[n]=0 otherwise
y[n] h[k ]x[n k ] h[n] * x[n]
k
y[n] ... x[n 3]h[3] x[n 2]h[2] x[n 1]h[1] x[n 0]h[0] x[n 1]h[1] ....
x[n 2]h[2] x[n 1]h[1] x[n 0]h[0]
Stability
BIBO: |x[n]|< M
Absolutely summable: | h[k ] |
k
Invertibility:
If the input can be determined from output
It has an inverse impulse response
Invertible if there exists: hi[n]*h[n]=[n]
Example 1
Assume h[n]= u[n] (1/2)^n x[n] y[n]
h[n]
Memoryless?
Casual system?
Stable?
k 0 2 1 0.5
2
Example 2
Assume h[n]= u[n+1] (1/2)^n x[n] y[n]
h[n]
Memoryless?
Casual system?
Stable?
| h[
k
k ] |
| 2
k 0
| k