Professional Documents
Culture Documents
Wave Text
Wave Text
by D.S.G. POLLOCK
University of Leicester
[T /2]
xt = 0 +
j=1
Here, [T /2] is the integral part of T /2. The frequency values j = 2j/T ; j =
0, 1, . . . , [T /2] are equally spaced in the interval [0, ]. There are as many
Fourier coecients j , j as there are data points.
In order to decompose the data into frequency-specic components, an
appropriate set of frequency bands must be determined. The bands can be
determined in view of the periodogram of the data.
2
600
400
200
0
0
25
50
75
100
125
0.3
0.2
0.1
0
0.1
0.2
0.3
0
25
50
75
100
125
Figure 2. The seasonal uctuation in the airline passenger series, represented by the
1.5
1
0.5
0
0
/4
/2
3/4
Figure 3. The periodogram of the seasonal uctuations in the airline passenger series.
0.04
0.03
0.02
0.01
0
0
20
40
60
80
100
120
140
160
180
200
Figure 4. The power spectrum of the vibrations transduced from the casing of an electric
motor in the process of a routine maintenance inspection. The units of the horizontal axis
are hertz. The rst peak at 16.6 hertz corresponds to a shaft rotation speed of 1000 rpm.
The prominence of its successive harmonics corresponds to the rattling of a loose shaft.
T
1
[T /2]
ij t
j e
j=0
j=0
T
1
j=0
j eij t
T 1
1
j =
xt eij t .
T t=0
T
1
j=0
1
T
T
1
xk eij k
eij t
k=0
T 1
T
1
1
=
xk
eij (tk) .
T
j=0
k=0
T
1
eij t =
t=0
sin([n 1/2]1 t)
.
sin(1 t/2)
Thus, the Fourier expansion can be expressed in terms of the Dirichlet kernel,
which is a circularly wrapped sinc function:
T 1
1
x(t) =
xk n (t k).
T t=0
1
0.75
0.5
0.25
0
0.25
8
10
sin(t/2)
t
sin(t) sin(t/2)
t
2
=
cos(3t/4) sin(t/4).
t
The displacements are by two sample intervals; and the functions are both
laterally and sequentially orthogonal.
More generally, a set of functions that span the frequency interval [, ] is
provided by displaced versions of the function
1
2
(t) = {sin(t) sin()} =
cos{( + )t/2} sin{( )t/2}
t
t
2
cos(t) sin(t),
=
t
where = ( + )/2 is the centre of the pass band and = ( )/2 is half
its width.
11
0.6
0.4
0.2
0
0.2
0.4
Figure 6. The scaling function (1) (t) (top) and the wavelet function (1) (t).
12
0.6
0.4
0.2
0
0.2
0.4
8
Figure 7. A wavelet within a frequency band of width /2 running from 3/8 to 7/8.
13
M
1
gk (2t k),
(t) = 21/2
k=0
M
1
hk (2t k).
k=0
These recursions are dened by the scaling-function coecients gk , which constitute a half-band lowpass lter, and by the wavelet coecients hk , which
constitute a half-band highpass lter.
14
1.5
1
0.5
0
0.5
0
15
1.5
1
0.5
0
0.5
1
1.5
2
0
16
h0 = g3 ,
h1 = g2 ,
h2 = g1 ,
h3 = g0 .
17
and
H(z) = g3 g2 z + g1 z 2 g0 z 3 = z 3 G(z 1 ).
The corresponding autocovariance generating functions are G(z)G(z 1 ) =
P (z) and H(z)H(z 1 ) = G(z)G(z 1 ) = P (z).
The condition of sequential orthogonality for the scaling function is equivalent
to the condition that P (z) + P (z) = 2, which gives
G(z)G(z 1 ) + G(z)G(z 1 ) = G(z)G(z 1 ) + H(z)H(z 1 ) = 2.
This amounts to the condition that G(z) and H(z) constitute complementary
ltersthe lter gain being 2 rather than unity.
Setting z = exp{i} with [, ] within H(z)H(z 1 ) and G(z)G(z 1 )
gives the squared gains of the lters.
18
2.5
2
1.5
1.0
0.5
0
0
/4
/2
3/4
Figure 10. The squared gains of the complementary lowpass and highpass lters.
19
and
H(z 1 ) = g3 + g2 z 1 + g1 z 2 + g0 z 3 = z 3 G(z),
it follows that the condition for lateral orthogonality is automatically satised
by choosing G(z) and H(z) to be complementary lters.
20
0.5
0.5
/2
/2
0.5
0.5
/2
/2
/2
/2
/2
/2
Figure 11. The consequence of dilating the gain functions of the complementary lowpass
and highpass lters by a factor of 2 is to create an uniform spectral density function on the
interval
for [, ].
The condition relies on the fact that the centres of P () and P ( + ) are separated by radians. In other cases, such as that of the lter with a frequency
bandwidth of /2, running from 3/8 to 7/8, i.e. with a centre at 5/8, a
dilation by a factor of 4 is required in order to achieve a uniform spectrum.
22
T
1
yk 0 (t k).
k=0
The T amplitude coecients that are associated with the basis functions
0 (t k) are the sampled values.
The purpose of a wavelets analysis is to transform the T data values into a
hierarchy of T coecients that are associated with an alternative basis, which is
ordered both according to the temporal locations of the wavelets and according
to their frequency contents.
The hierarchy of wavelets is described by a so-called mosaic diagram that
denes a partitioning of the time-frequency plane. This is illustrated for a
sample of size T = 128 = 27 . The height of a cell corresponds to a bandwidth
in the frequency domain, whereas its width denotes a temporal duration.
23
/2
/4
/8
/16
0
32
64
96
128
24
25
(k) and
2
2
2
C2 C2
2 2
(y Xb) (y Xb)
e e
= 2 =
= 2 2 (T k).
2
2
0
1
K4 =
0
0
0
0
1
0
0
0
0
1
1
0
,
0
0
0
0
K42 =
1
0
0
0
0
1
1
0
0
0
0
1
,
0
0
0
0
K43 =
0
1
1
0
0
0
0
1
0
0
0
0
.
1
0
The matrices KT0 = IT , KT , . . . , KTT 1 form a basis for the set of all circulant
matrices of order T
There is a one-to-one correspondence between the set of all polynomials of
degree less than T and the set of all circulant matrices of order T . If (z) is a
polynomial of degree less that T , then the corresponding circulant matrix is
A = (KT ) = 0 IT + 1 KT + + T 1 KTT 1 .
27
1
0
V=
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
28
and
1
0
0
=
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
.
0
1
0
29
/2
/2
/2
/2
/2
/2
/2
/2
Figure 13. In the process of downsampling, the high frequency content of [0, ] will be
H(1)
h0
h1
h2
h
= 3
0
0
0
0
h0
h1
h2
h3
0
0
0
0
0
h0
h1
h2
h3
0
0
0
0
0
h0
h1
h2
h3
0
0
0
0
0
h0
h1
h2
h3
h3
0
0
0
0
h0
h1
h2
h2
h3
0
0
0
0
h0
h1
h1
h2
h3
0
.
0
0
h0
Premultiplying this by the down sampling matrix is a matter of deleting alternate rows:
h0 0
0
0
0 h3 h2 h1
0
0
0 h3
h h1 h0 0
VH(1) = 2
.
0 h3 h2 h1 h0 0
0
0
0
0
0 h3 h 2 h 1 h 0 0
31
10
h0
11 h2
12 0
13 0
g0
10
g2
11
12 0
0
13
0
h1
h3
0
0
h0
h2
0
0
0
h1
h3
0
0
h0
h2
h3
0
0
h1
h2
0
0
h0
0
g1
g3
0
0
g0
g2
0
0
0
g1
g3
0
0
g0
g2
g3
0
0
g1
g2
0
0
g0
y0
h1
y1
h3
0
y2
0
y3
.
g1
y4
g3
y5
0
y6
0
y7
32
10
0 1 0 0
0
0
0
0 10
11
11
0 0 1 0
0
0
0
0
12
12
0 0 0 1
0
0
0
0
13
13
20 0 0 0 0
h
h
h
h
0
3
2
1
10
21 0 0 0 0
h2 h1 h0 h3 11
12
20
0 0 0 0
g0 g3 g2 g1
13
21
0 0 0 0
g2 g1 g0 g3
The summary notation for this is
(1)
I
(2) = 0
(2)
0
VH(2) (1) .
(1)
VG(2)
33
20
h0 h3 h2 h1 21
30
=
30
g0 g3 g2 g1
20
21
or by
30
30
h0 + h2
g0 + g2
h3 + h1
g3 + g1
20
.
21
The vector of amplitude coecients associated with the wavelet on the jth
level is
(j) = VH(j) VG(j1) VG(1) y = Q(j) y.
Here, Q(j) is formed from a set of adjacent rows of Q .
The component vector wj = [w0j , w1j , . . . , wT 1,j ] of the decomposition of
y = w1 + + wn + vn is synthesised as follows:
(j) .
wj = Q(j) (j) = G(1) G(j1) H(j)
34
H (z)
G (z)
H (z)
G (z)
Figure 14. The analysis section of a dyadic lter bank, expressed in terms of z-transform
polynomials.
35
E(z)
D (z)
E(z)
D (z)
The synthesis section of a dyadic lter bank, expressed in terms of ztransform polynomials.
Figure 15.
36
H (z)
E(z)
+
G (z)
D (z)
Figure 16. In the two-channel lter bank, perfect reconstruction can be achieved by
37
w(z) =
1
{D(z)G(z) + E(z)H(z)}x(z),
2
1
+ {D(z)G(z) + E(z)H(z)}x(z).
2
38
39
1
1
2
2
2
1
1
2
1
1
2
2
2
1
1
2
12211221122112211221122112211221
0
16
24
32
Figure 17. The scheme for constructing compound lters in the dyadic case. The
diagram highlights the construction of the lter 23/32 (). The bold line demarcates
an ordinary dyadic octave analysis.
40
5/6
2/3
/2
/3
/6
0
0
24
48
72
96
120
144
Figure 18. The timefrequency plane for 144 = 32 24 data points partitioned with
24 frequency intervals and 6 time periods. The non-dyadic mosaic is relevant to the
analysis of the seasonal uctutions of the airline passenger data.
41
10
h0 0
0
0 h3 h1
0 h2
11 h2 h0 0
0
0 h3
h1 0
h3 h1 0
12 0 h2 h0 0 y0
y1
0
13 0
0 h2 h 0 y 2 0 h3 h 1 0
y3
=
+
.
g0 0
y
0 g2 4
0 g3 g1
0
10
y5
g1 0
g2 g0 0
0
0 g3
11
y6
y7
g3 g1 0
12 0 g2 g0 0
0
0
0 g2 g0
0 g3 g1 0
13
This can be represented, in summary notation, by
e
o
H
KH
e
o
=
y
y
+
,
Ge
KGo
where y e = [y0 , y2 , y4 , y6 ] = Vy and y o = [y1 , y3 , y5 , y7 ] = VKy. Also,
Ge = g0 IT /2 + g2 KT /2
and Go = g1 IT /2 + g3 KT /2 .
42
h2
h0
0
0
0
h2
h0
0
h1
0
0
h3
h3
h1
0
0
g0
0
0
0
0
h2
0
g2
h0
1
+
2 0
0
h3 3
g3
h1
0
g1
g2
g0
0
0
0
g2
g0
0
g1
0
0
g3
g3
g1
0
0
0
0
g2
0
g0
1
.
2
0
g3
3
g1
0
+
.
yo
H o K
Go K
Perfect reconstruction is achieved, since the orthogonality conditions imply that
e
e
o
o
H
I 0
G
KH
H
=
2
.
0 I
H o K Go K
Ge KGo
43
z 1
+
z
Figure 19. An alternative architecture for the two-channel lter bank separates the
data points bearing even indices from those bearing odd indices.
44
45
y0
0 0 f4 f1
0
y1
f0 0 0 f3
f3 f0 0 0 y3 f1 0 0 f4 y4 0
+
+
0 f3 f0 0
y6
f4 f1 0 0
y7
f2
0 0 f3 f0
0 f4 f1 0
y9
y10
f5
In summary notation, this is =
such transformations:
H0
= G0
F0
f5
0
0
f2
f2
f5
0
0
0
y2
f2 y5
f5
y8
0
y11
y0
K H2
K 2 G2 y1 .
K 2 F2
y2
H0
y0
y1 G0
y2
F0
KH1
KG1
KF1
K H2
K 2 G2 .
K 2 F2
2
The object is to ensure that the synthesis matrix is the transpose of the analysis
matrix.
46
z 1
+
z
z 1
+
z
Figure 20. A three-channel lter bank can be constructed that separates the data into
three phases.
47
1
1
=
([2j + ]/3)eit d
6 j=1
Therefore, the condition of orthogonality is equivalent to the condition that the
superimposition of the squared gain functions of the three lters constitutes a
constant function in the frequency domain:
([2/3] + ) + () + ([(2/3] + ) = c.
When dilated by a factor of three, the squared gain of each of the lters also
constitutes a constant function.
48
0.5
0
2/3
/3
/3
2/3
2/3
/3
/3
2/3
/3
/3
2/3
0.5
0
0.5
0
2/3
Figure 21. The triadic squared gain functions, which can be superimposed and added
1
0.5
2/3
/3
/3
2/3
/3
/3
2/3
/3
/3
2/3
1
0.5
2/3
1
0.5
2/3
Figure 22. The triadic squared gain functions dilated by a factor of 3. Each of these
51