Recall Figure 3.
yn=
(
row
n
of
ℋ
|
x
)
=
(
h
n
r
|
x
)
y
n
(
row
n
of
ℋ
|
x
)
(
h
n
r
|
x
)
(2)
y=ℋx
y
ℋ
x
·=(
⋯⋯⋯⋯→
)⋮⋮⋮⋮↓
·
⋯
⋯
⋯
⋯
→
⋮
⋮
⋮
⋮
↓
(3)
where the · is in the
nth
n
th
row.
Now shift x
x down circularly m
m units. If the system is SI then
y
y will also shift down circularly m
m units. i.e.:
C
m
y=ℋ
C
m
x
C
m
y
ℋ
C
m
x
·▪=(
⋯⋯⋯⋯→
)⋮↓⋮⋮⋮
·
▪
⋯
⋯
⋯
⋯
→
⋮
↓
⋮
⋮
⋮
(4)
where the · is in the
nth
n
th
row, the ▪ is in the
n+mth
n
m
th
row, and the ↓ has been shifted down circularly
mm units.
Key: we want the value ▪ in
C
m
y
C
m
y
to equal the · value in
yy.
This implies that the rows of
ℋ
ℋ must circularly shift as we shift
xx and
yy.
i.e.: row
n+m
n
m
of ℋ
ℋ is equal to the circular shift right of row
nn of
ℋℋ by
mm. i.e.:
h
n
+
m
r
=
h
n
r
C
m
T
h
n
+
m
r
h
n
r
C
m
i.e.: all rows of
ℋℋ are circular
shifts of each other.
y
0
y
1
y
2
=(
147
258
369
)
x
0
x
1
x
2
y
0
y
1
y
2
1
4
7
2
5
8
3
6
9
x
0
x
1
x
2
LSI also needs
m=1
m
1
:
y
2
y
0
y
1
=(
147
258
369
)
x
2
x
0
x
1
y
2
y
0
y
1
1
4
7
2
5
8
3
6
9
x
2
x
0
x
1
and
m=2
m
2
:
y
1
y
2
y
0
=(
147
258
369
)
x
1
x
2
x
0
y
1
y
2
y
0
1
4
7
2
5
8
3
6
9
x
1
x
2
x
0
i.e.:
1=5=9
1
5
9
2=6=7
2
6
7
3=4=8
3
4
8
ℋ=(
132
213
321
)
ℋ
1
3
2
2
1
3
3
2
1
ℋ
ℋ is called a circulant matrix.
- each row is a circulary shifted version of the row
above (right).
- each column is a circularly shifted version of the
column to the left (down).
ℋ=(
132
213
321
)=
h
0
r
h
0
r
C
1
T⋮
h
0
r
C
N
-
1
T=(
h
0
c
C
1
h
0
c
…
C
N
-
1
h
0
c
)
ℋ
1
3
2
2
1
3
3
2
1
h
0
r
h
0
r
C
1
⋮
h
0
r
C
N
-
1
h
0
c
C
1
h
0
c
…
C
N
-
1
h
0
c
(5)
which implies that either the first row or first column
are all you need to know to know
all of
ℋℋ.
Circulant matrices are a special case of Toeplitz
matrices, which are constant along diagonals.
e.g.:
T=(
⋱⋱⋱⋱
⋱⋱⋱⋱
⋱⋱⋱⋱
⋱⋱⋱⋱
)=(
1356
2135
4213
7421
)
T
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
⋱
1
3
5
6
2
1
3
5
4
2
1
3
7
4
2
1
Tn,k=tn−k
T
n
k
t
n
k
Also, row nn, column
kk element of
ℋℋ is
ℋn,k=h(n−k)modN
ℋ
n
k
h
n
k
N
(6)
where
0≤n≤N−1
0
n
N
1
and
0≤k≤N−1
0
k
N
1
and
h
h is the signal corresponding to the first
(
i.e. the zeroth!)
column of
ℋ
ℋ.
N=2
N
2
,
h
0
c
=-173T
h
0
c
-1
7
3
ℋ=(
h(0−0)modNh(0−1)modNh(0−2)modN
h(1−0)modNh(1−1)modNh(1−2)modN
h(2−0)modNh(2−1)modNh(2−2)modN
)=(
h0h2h1
h1h0h2
h2h1h0
)
ℋ
h
0
0
N
h
0
1
N
h
0
2
N
h
1
0
N
h
1
1
N
h
1
2
N
h
2
0
N
h
2
1
N
h
2
2
N
h
0
h
2
h
1
h
1
h
0
h
2
h
2
h
1
h
0
(7)
Apply a 3-point moving average smoother to a signal
x=(
-2-101210-1
)
x
-2
-1
0
1
2
1
0
-1
.
In
Figure 4,
yn=1x(n−1)modN+2xn+3x(n+1)modN
y
n
1
x
n
1
N
2
x
n
3
x
n
1
N
(8)
y=(
23000001
12300000
01230000
00123000
00012300
00001230
00000123
30000012
)-2-101210-1=-8-42884-2-8
y
2
3
0
0
0
0
0
1
1
2
3
0
0
0
0
0
0
1
2
3
0
0
0
0
0
0
1
2
3
0
0
0
0
0
0
1
2
3
0
0
0
0
0
0
1
2
3
0
0
0
0
0
0
1
2
3
3
0
0
0
0
0
1
2
-2
-1
0
1
2
1
0
-1
-8
-4
2
8
8
4
-2
-8
(9)
The relationship between rows and columns of
ℋ
ℋ:
ℋn,k=h(n−k)modN
ℋ
n
k
h
n
k
N
(10)
where
nn is the row,
kk is the column, and
0≤n≤N−1
0
n
N
1
and
0≤k≤N−1
0
k
N
1
.
Rows and columns run time in
reverse order!!!
R4
4
y0y1y2y3=(
2301
1230
0123
3012
)x0x1x2x3
y
0
y
1
y
2
y
3
2
3
0
1
1
2
3
0
0
1
2
3
3
0
1
2
x
0
x
1
x
2
x
3
(11)
where the zeroth column,
2103
2
1
0
3
, is the
impulse response,
hn
h
n
(
Figure 5).
In
Equation 11, the zeroth row,
(
2301
)
2
3
0
1
,
is the
time-reversed impulse response,
h−k
h
k
.