Multirate
Multirate
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 1 / 13
Multirate Systems
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 2 / 13
Multirate Systems
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 2 / 13
Multirate Systems
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
e.g. Audio DAC increases sample rate so that the reconstruction filter
can have a more gradual cutoff
Multirate: 11 2 / 13
Multirate Systems
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 2 / 13
Building blocks
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Downsample
y[m] = x[Km]
Multirate: 11 3 / 13
Building blocks
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Downsample
Upsample
y[m] = x[Km]
(
n
u K
K|n
v[n] =
0
else
Multirate: 11 3 / 13
Building blocks
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
y[m] = x[Km]
(
n
u K
K|n
v[n] =
0
else
Downsample
Upsample
Example:
Downsample by 3 then upsample by 4
w[n]
Multirate: 11 3 / 13
Building blocks
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
y[m] = x[Km]
(
n
u K
K|n
v[n] =
0
else
Downsample
Upsample
Example:
Downsample by 3 then upsample by 4
w[n]
x[m]
Multirate: 11 3 / 13
Building blocks
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
y[m] = x[Km]
(
n
u K
K|n
v[n] =
0
else
Downsample
Upsample
Example:
Downsample by 3 then upsample by 4
w[n]
x[m]
y[r]
Multirate: 11 3 / 13
Building blocks
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
y[m] = x[Km]
(
n
u K
K|n
v[n] =
0
else
Downsample
Upsample
Example:
Downsample by 3 then upsample by 4
w[n]
x[m]
y[r]
Multirate: 11 3 / 13
Building blocks
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
y[m] = x[Km]
(
n
u K
K|n
v[n] =
0
else
Downsample
Upsample
Example:
Downsample by 3 then upsample by 4
w[n]
x[m]
y[r]
Multirate: 11 3 / 13
Building blocks
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
y[m] = x[Km]
(
n
u K
K|n
v[n] =
0
else
Downsample
Upsample
Example:
Downsample by 3 then upsample by 4
w[n]
x[m]
y[r]
Multirate: 11 3 / 13
Resampling Cascades
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 4 / 13
Resampling Cascades
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 4 / 13
Resampling Cascades
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 4 / 13
Resampling Cascades
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 4 / 13
Resampling Cascades
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
P
Qn
if Q | n else y[n] = 0.
Multirate: 11 4 / 13
Resampling Cascades
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
P
Qn
if Q | n else y[n] = 0.
P
Right side: y[n] = x Q
n if Q | P n.
Multirate: 11 4 / 13
Resampling Cascades
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
P
Qn
if Q | n else y[n] = 0.
P
Right side: y[n] = x Q
n if Q | P n.
But {Q | P n Q | n} iff P and Q are coprime.
Multirate: 11 4 / 13
Noble Identities
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 5 / 13
Noble Identities
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 5 / 13
Noble Identities
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 5 / 13
Noble Identities
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 5 / 13
Noble Identities
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Corrollary
Example: H(z) = h[0] + h[1]z 1 + h[2]z 2 +
Multirate: 11 5 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
w[r] = v[Qr]
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
w[r] = v[Qr] =
PQM
s=0
hQ [s]x[Qr s]
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
w[n] =
PQM
s=0
hQ [s]v[n s]
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
w[n] =
PQM
s=0 hQ [s]v[n s] =
PM
m=0 hQ [Qm]v[n
Qm]
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
P
PM
w[n] = QM
h
[s]v[n
s]
=
Q
m=0 hQ [Qm]v[n Qm]
Ps=0
M
= m=0 h[m]v[n Qm]
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
P
PM
w[n] = QM
h
[s]v[n
s]
=
Q
m=0 hQ [Qm]v[n Qm]
Ps=0
M
= m=0 h[m]v[n Qm]
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
P
PM
w[n] = QM
h
[s]v[n
s]
=
Q
m=0 hQ [Qm]v[n Qm]
Ps=0
M
= m=0 h[m]v[n Qm]
PM
m=0
h[m]v[Qr Qm]
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
P
PM
w[n] = QM
h
[s]v[n
s]
=
Q
m=0 hQ [Qm]v[n Qm]
Ps=0
M
= m=0 h[m]v[n Qm]
=
DSP and Digital Filters (2014-4464)
PM
h[m]v[Qr Qm]
m=0 h[m]x[r m] = u[r]
PM
m=0
Multirate: 11 6 / 13
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PQM
P
PM
w[n] = QM
h
[s]v[n
s]
=
Q
m=0 hQ [Qm]v[n Qm]
Ps=0
M
= m=0 h[m]v[n Qm]
=
DSP and Digital Filters (2014-4464)
PM
h[m]v[Qr Qm]
m=0 h[m]x[r m] = u[r] = y[Qr] ,
PM
m=0
Multirate: 11 6 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
V (z) =
n
v[n]z
n
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
V (z) =
n v[n]z
n n
u[
n:K|n
K ]z
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
V (z) =
=
n v[n]z
P
= m u[m]z Km
n n
u[
n:K|n
K ]z
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
n n
v[n]z
=
u[
n
n:K|n
K ]z
P
= m u[m]z Km = U (z K )
V (z) =
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
n n
v[n]z
=
u[
n
n:K|n
K ]z
P
= m u[m]z Km = U (z K )
V (z) =
Frequency Spectrum:
V (ej ) = U (ejK )
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
n n
v[n]z
=
u[
n
n:K|n
K ]z
P
= m u[m]z Km = U (z K )
V (z) =
Frequency Spectrum:
V (ej ) = U (ejK )
Frequency spectrum is horizontally shrunk and replicated K times.
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
n n
v[n]z
=
u[
n
n:K|n
K ]z
P
= m u[m]z Km = U (z K )
V (z) =
Frequency Spectrum:
V (ej ) = U (ejK )
Frequency spectrum is horizontally shrunk and replicated K times.
Example:
Asymmetric real spectrum ( complex signal)
0.5
-2
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
n n
v[n]z
=
u[
n
n:K|n
K ]z
P
= m u[m]z Km = U (z K )
V (z) =
Frequency Spectrum:
V (ej ) = U (ejK )
Frequency spectrum is horizontally shrunk and replicated K times.
Example:
Asymmetric real spectrum ( complex signal)
K = 3: three images of the original spectrum in all.
0.5
0.5
-2
-2
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
n n
v[n]z
=
u[
n
n:K|n
K ]z
P
= m u[m]z Km = U (z K )
V (z) =
Frequency Spectrum:
V (ej ) = U (ejK )
Frequency spectrum is horizontally shrunk and replicated K times.
Example:
Asymmetric real spectrum ( complex signal)
K = 3: three images of the original spectrum in all.
Energy unchanged:
1
2
1
2
0.5
R
U (ej )2 d =
R
V (ej )2 d
0.5
-2
-2
Multirate: 11 7 / 13
Upsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
n n
v[n]z
=
u[
n
n:K|n
K ]z
P
= m u[m]z Km = U (z K )
V (z) =
Frequency Spectrum:
V (ej ) = U (ejK )
Frequency spectrum is horizontally shrunk and replicated K times.
Upsampling normally followed by a LP filter to remove images.
Example:
Asymmetric real spectrum ( complex signal)
K = 3: three images of the original spectrum in all.
Energy unchanged:
1
2
1
2
0.5
R
U (ej )2 d =
R
V (ej )2 d
0.5
-2
-2
Multirate: 11 7 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
x[n] K | n
0
Kn
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
x[n] K | n
= cK [n]x[n]
0
Kn
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
XK (z) =
x[n] K | n
= cK [n]x[n]
0
Kn
xK [n]z n
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
P
K1
1
K
=K
z
k=0
n x[n] e
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
PK1
P
j2k
K1
1
1
K
= K k=0
z
= K k=0 X(e K z)
n x[n] e
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
PK1
P
j2k
K1
1
1
K
= K k=0
z
= K k=0 X(e K z)
n x[n] e
XK (z) = Y (z K )
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
PK1
P
j2k
K1
1
1
K
= K k=0
z
= K k=0 X(e K z)
n x[n] e
XK (z) = Y (z K )
1
Y (z) = XK (z K )
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
PK1
P
j2k
K1
1
1
K
= K k=0
z
= K k=0 X(e K z)
n x[n] e
XK (z) = Y (z K )
1
Y (z) = XK (z K ) =
1
K
PK1
k=0
X(e
j2k
K
zK)
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
PK1
P
j2k
K1
1
1
K
= K k=0
z
= K k=0 X(e K z)
n x[n] e
XK (z) = Y (z K )
1
Y (z) = XK (z K ) =
1
K
Frequency Spectrum:
Y (ej ) =
1
K
PK1
k=0
X(e
PK1
k=0
j(2k)
K
X(e
j2k
K
zK)
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
PK1
P
j2k
K1
1
1
K
= K k=0
z
= K k=0 X(e K z)
n x[n] e
XK (z) = Y (z K )
1
Y (z) = XK (z K ) =
Frequency Spectrum:
Y (ej ) =
=
1
K
1
K
1
K
PK1
k=0
X(e
j2k
K
zK)
PK1
j(2k)
K
)
X(e
k=0j
j
j
2
4
X(e K ) + X(e K K ) + X(e K K ) +
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
PK1
P
j2k
K1
1
1
K
= K k=0
z
= K k=0 X(e K z)
n x[n] e
XK (z) = Y (z K )
1
Y (z) = XK (z K ) =
Frequency Spectrum:
1
K
PK1
k=0
X(e
j2k
K
zK)
PK1
j(2k)
K
)
X(e
k=0j
j
j
2
4
=
X(e K ) + X(e K K ) + X(e K K ) +
Horizontally expanded by a factor of K , average of K aliased versions.
Y (ej ) =
1
K
1
K
Multirate: 11 8 / 13
Downsampled z-transform
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
PK1 j2kn
1
K
Define cK [n] = K|n [n] = K
k=0 e
(
x[n] K | n
= cK [n]x[n]
0
Kn
P PK1 j2kn
P
1
n
XK (z) = n xK [n]z = K n k=0 e K x[n]z n
j2k n
P
PK1
P
j2k
K1
1
1
K
= K k=0
z
= K k=0 X(e K z)
n x[n] e
XK (z) = Y (z K )
1
Y (z) = XK (z K ) =
Frequency Spectrum:
1
K
PK1
k=0
X(e
j2k
K
zK)
PK1
j(2k)
K
)
X(e
k=0j
j
j
2
4
=
X(e K ) + X(e K K ) + X(e K K ) +
Horizontally expanded by a factor of K , average of K aliased versions.
Y (ej ) =
1
K
1
K
Multirate: 11 8 / 13
Downsampled Spectrum
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Y (e ) =
1
K
PK1
k=0
X(e
j(2k)
K
Multirate: 11 9 / 13
Downsampled Spectrum
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Y (e ) =
Example 1:
1
K
PK1
k=0
X(e
K=3
j(2k)
K
0.5
-2
Multirate: 11 9 / 13
Downsampled Spectrum
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Y (e ) =
Example 1:
1
K
PK1
k=0
X(e
j(2k)
K
K=3
0.5
0.5
-2
-2
Multirate: 11 9 / 13
Downsampled Spectrum
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Y (e ) =
Example 1:
1
K
PK1
k=0
X(e
j(2k)
K
K=3
Energy decreases:
1
2
0.5
0.5
-2
R
Y (ej )2 d
1
2K
-2
R
X(ej )2 d
Multirate: 11 9 / 13
Downsampled Spectrum
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Y (e ) =
Example 1:
1
K
PK1
k=0
X(e
j(2k)
K
K=3
Energy decreases:
Example 2:
K=3
1
2
0.5
0.5
R
Y (ej )2 d
|| 2 K
Limited to K
1
2K
-2
R
X(ej )2 d
0.5
-2
-2
Multirate: 11 9 / 13
Downsampled Spectrum
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Y (e ) =
Example 1:
1
K
PK1
k=0
X(e
j(2k)
K
K=3
Energy decreases:
Example 2:
K=3
1
2
0.5
0.5
-2
R
Y (ej )2 d
|| 2 K
Limited to K
No aliasing: ,
1
2K
-2
R
X(ej )2 d
1
0.5
0.5
-2
-2
Multirate: 11 9 / 13
Downsampled Spectrum
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Y (e ) =
Example 1:
1
K
PK1
k=0
X(e
j(2k)
K
K=3
Energy decreases:
1
2
Example 2:
K=3
0.5
0.5
-2
R
Y (ej )2 d
|| 2 K
Limited to K
No aliasing: ,
1
2K
-2
R
X(ej )2 d
1
0.5
0.5
-2
-2
Multirate: 11 9 / 13
Downsampled Spectrum
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Y (e ) =
Example 1:
1
K
PK1
k=0
X(e
j(2k)
K
K=3
Energy decreases:
1
2
Example 2:
K=3
0.5
0.5
-2
R
Y (ej )2 d
|| 2 K
Limited to K
No aliasing: ,
1
2K
-2
R
X(ej )2 d
1
0.5
0.5
-2
-2
|| (r + 1) K
Actually OK if spectral energy is restricted to r K
Multirate: 11 9 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
cdefghijklmn
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
cdefghijklmn
c f i l
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
p[n]
cdefghijklmn
c f i l
-c--f--i--l
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
p[n]
v[m]
cdefghijklmn
c f i l
-c--f--i--l
b e h k
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
p[n]
v[m]
q[n]
cdefghijklmn
c f i l
-c--f--i--l
b e h k
-bc-ef-hi-kl
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
p[n]
v[m]
q[n]
w[m]
cdefghijklmn
c f i l
-c--f--i--l
b e h k
-bc-ef-hi-kl
a d g j
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
p[n]
v[m]
q[n]
w[m]
y[n]
cdefghijklmn
c f i l
-c--f--i--l
b e h k
-bc-ef-hi-kl
a d g j
abcdefghijkl
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
p[n]
v[m]
q[n]
w[m]
y[n]
cdefghijklmn
c f i l
-c--f--i--l
b e h k
-bc-ef-hi-kl
a d g j
abcdefghijkl
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
p[n]
v[m]
q[n]
w[m]
y[n]
cdefghijklmn
c f i l
-c--f--i--l
b e h k
-bc-ef-hi-kl
a d g j
abcdefghijkl
y[n] = x[n 2]
Multirate: 11 10 / 13
Perfect Reconstruction
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
p[n]
v[m]
q[n]
w[m]
y[n]
cdefghijklmn
c f i l
-c--f--i--l
b e h k
-bc-ef-hi-kl
a d g j
abcdefghijkl
y[n] = x[n 2]
Perfect Reconstruction: output is a delayed scaled replica of the input
Multirate: 11 10 / 13
Commutators
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
v[m]
w[m]
cdefghijklmn
c f i l
b e h k
a d g j
y[n]
abcdefghijkl
Multirate: 11 11 / 13
Commutators
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
v[m]
w[m]
cdefghijklmn
c f i l
b e h k
a d g j
y[n]
abcdefghijkl
Multirate: 11 11 / 13
Commutators
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
v[m]
w[m]
cdefghijklmn
c f i l
b e h k
a d g j
y[n]
abcdefghijkl
Multirate: 11 11 / 13
Commutators
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
v[m]
w[m]
cdefghijklmn
c f i l
b e h k
a d g j
y[n]
abcdefghijkl
Multirate: 11 11 / 13
Commutators
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
v[m]
w[m]
v[m + 13 ]
w[m + 32 ]
y[n]
cdefghijklmn
c f i l
b e h k
a d g j
e h k l
d g j m
abcdefghijkl
Multirate: 11 11 / 13
Commutators
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
v[m]
w[m]
v[m + 13 ]
w[m + 32 ]
y[n]
cdefghijklmn
c f i l
b e h k
a d g j
e h k l
d g j m
abcdefghijkl
Multirate: 11 11 / 13
Commutators
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
x[n]
u[m]
v[m]
w[m]
v[m + 13 ]
w[m + 32 ]
y[n]
cdefghijklmn
c f i l
b e h k
a d g j
e h k l
d g j m
abcdefghijkl
Multirate: 11 11 / 13
Summary
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Multirate: 11 12 / 13
Summary
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Downsample: X(z)
K:1 1
K
PK1
j2k
K
1
K
z )
Destroys information and energy, keeps every K th sample
k=0
X(e
Multirate: 11 12 / 13
Summary
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Downsample: X(z)
K:1 1
K
PK1
j2k
K
1
K
z )
Destroys information and energy, keeps every K th sample
k=0
X(e
Equivalences
Noble Identities: H(z) H(z K )
Interchange P : 1 and 1 : Q iff P and Q coprime
Multirate: 11 12 / 13
Summary
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Downsample: X(z)
K:1 1
K
PK1
j2k
K
1
K
z )
Destroys information and energy, keeps every K th sample
k=0
X(e
Equivalences
Noble Identities: H(z) H(z K )
Interchange P : 1 and 1 : Q iff P and Q coprime
Commutators
Combine delays and down/up sampling
Multirate: 11 12 / 13
Summary
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
Downsample: X(z)
K:1 1
K
PK1
j2k
K
1
K
z )
Destroys information and energy, keeps every K th sample
k=0
X(e
Equivalences
Noble Identities: H(z) H(z K )
Interchange P : 1 and 1 : Q iff P and Q coprime
Commutators
Combine delays and down/up sampling
For further details see Mitra: 13.
Multirate: 11 12 / 13
MATLAB routines
11: Multirate Systems
Multirate Systems
Building blocks
Resampling Cascades
Noble Identities
Noble Identities Proof
Upsampled z-transform
Downsampled z-transform
Downsampled Spectrum
Perfect Reconstruction
Commutators
Summary
MATLAB routines
resample
Multirate: 11 13 / 13