RiceX - Discrete Time Signals and Systems, Part 1 Time Domain
RiceX - Discrete Time Signals and Systems, Part 1 Time Domain
1x Discrete Time Signals and Systems, Part 1: Time Domain (brief course notes)
Week 1
Signal Properties
1) Modulo Arithmetic y[n]=x[(n)N]
2) Causal (t<0, x[n]=0), anti-causal (t>0,x[n]=0), acausal
3) Any signal can be decomposed into even and odd component: x[n]=e[n]+o[n]
Shifting Signals
Sinusoids
Discrete-Time sinusoids are weird
Complex exponentials
Week 2
3) Energy of x = <x,x>
4) Orthogonal: <x,y> = 0
Infinite-Length Vectors
1. Hilbert Space/Banach Space: contains all infinite length vectors
2. sup|x[n]| is same as max, for infinite-length vector
Systems
Linear systems
Time-invariant systems
Matlab: circulent(h) = H
Week 4 – Convolution
Computing Convolution
1) Convolve h * x = y: find a vector containing all the inner products of h and x (function conv(h,y) in
matlab)
2) To convolve h with x,
Step one: plot x[-m] i.e. flip along y axis
Step two: shift the plot horizontally right by n>0, left by n<0
Step three: multiply plot with h plot and sum up all entries to obtain convolution result
3) Used in smoothing to average out noise: tradeoff between smoothing & bluring for longer impulse
response moving average filter (e.g. for an impulse response of length 3, take 3 values and average
them to get output)
4) Convolve h with x = convolve x with h i.e. compute output when input h is entered into a system x, or
the other way round aka swop h and x
5) Circular convolution for finite LTI systems: cconv(h,x,N) in matlab; where N=period. This is a zero-
padded convolution
Properties of convolution
1) Commutative
2) Cascade: x -> H1 -> H2 -> y i.e. x*H1 then *H2 to give y == x-> H1*H2->y i.e. H1*H2 then *x to give y
3) Parallel: (x-> H1) + (x->H2) = y == x -> (H1+H2)
4) An LTI system is causal if its impulse response is causal. Toeplitz system matrix is lower triangular
5) Duration
Support interval [N1,N2] : interval where x ≠ 0;
Duration of x: Dx = N2-N1+1
For y = x* h,
Max(Dy) = Dx + Dh – 1
6) An LTI system can have either finite (FIR) or infinite (IIR) impulse response
7) Circular convolution of x & h, both of which have finite duration signals D g & Dh but infinite length
System stability
1) BIBO stability: bounded input via h gives bounded output
An LTI system is BIBO stable if and only if h has finite L-1 norm
e.g. FIR systems