Professional Documents
Culture Documents
5-1
2.5 Generation of Orthonormal Bases We have seen that orthonormal bases simplify the calculation of
n and the calculation of distances and energies from the coefficients x
coefficients. This section outlines two classical ways to generate an orthonormal basis from an arbitrary set of basis vectors. (Note that the arbitrary basis and the orthonormal basis span the same space.) Well denote the projection of some x(t ) onto the space spanned by, say,
v1 (t ) and v2 (t ) by
where
= G 1p , x
* (t ) vn (t ) dt [G ]k ,n = vk
pn =
* x (t ) vn (t ) dt
2.5-1
2.5-2
2.5.1 Gram-Schmidt Orthogonalization [P 4.2.3] Consider a set of waveforms {si (t ), i = 1,, M } , not necessarily orthonormal. The GS algorithm creates from them an orthonormal set
GS rests on the fact that the error in a projection is orthogonal to the space onto which a vector is projected. Then just normalize.
e1 (t ) = s1 (t )
u1 (t ) = e1 (t ) u2 (t ) = e2 (t ) u3 (t ) = e3 (t )
e2 (t ) = s2 (t ) Ps1 s2 (t )
e3 (t ) = s3 (t ) Ps1 , s2 s3 (t )
Es1
*
2. c21 =
s2 (t ) u1 (t ) dt , e2 (t ) = s2 (t ) c21u1 (t )
n 1 i =1
u2 (t ) = e2 (t )
Ee2
n. cni =
sn (t ) ui* (t ) dt ,
en (t ) = sn (t ) cni ui (t ) un (t ) = en (t )
Een
etc.
2.5-2
2.5-3
In the process, if any ek (t ) 0 , then sk (t ) is linearly dependent on its predecessors, so discard it.
Also use GS to decorrelate sets of random variables [ENSC 810, Sect 1.3].
2.5-3
2.5-4
When GS is applied to tuples s1 , s 2 , , s M , instead of waveforms, the equations on p. 2.5-2 can be written
s1 = c11 u1
s 2 = c22 u 2 + c21 u1 s3 = c33 u3 + c32 u 2 + c31 u1
or
c11 c21 0 c 22 0 | uN ] 0 0 0 c31 c32 c33 0 cM 1 cM 2 c3M cNM
[s1 | s2 | s3 |
| s M ] = [u1 | u 2 | u3 |
or
S = UC,
where U is unitary and C is upper triangular. Its shown for M = N , but more generally, M > N .
It is not necessarily square, and U has fewer columns than S if the S columns are linearly dependent.
2.5-4
2.5-5
[ s1 (t ), s2 (t ),
, sM (t ) ] = [u1 (t ), u2 (t ),
s(t ) = u(t ) C
(t ) u(t ) dt = I .
2.5-5
2.5-6
2.5.2 Orthogonalization by Eigendecomposition The waveforms si (t ), i = 1,, N can also be orthogonalized by eigendecomposition. This methods does the orthogonalization in a batch, rather than sequentially, as in GS. Assume the original basis functions si (t ), i = 1,, N are linearly independent. We form the orthonormal basis functions ui (t ), i = 1, , N as linear combinations of the si (t ) by
un (t ) = wi n si (t ), for n = 1,
i =1 N
,N
where W = [ w1 w 2
2.5-6
2.5-7
* um (t ) un (t ) dt
* wkm
i =1 k =1
win
sk (t ) si (t ) dt = mn
* G ki
If we can find W that satisfies this equation, then we have the desired orthonormal basis as u(t ) = s(t ) W . As a first step, diagonalize G by a similarity transform. The Gram matrix is Hermitian (i.e., G = G ), so it has special properties: o Its eigenvectors qi (t ), i = 1, , N are orthogonal. Assume they are normalized to unit norm, and use them as columns of matrix Q . Then
Q Q = I ; that is, Q is unitary. Eigenvectors can be complex. Now
Q G Q = and
Q Q = G, where = diag [ 1 ,, N ]
because Q acts as Q 1 . This is the unitary similarity transform. o And the eigenvalues i (t ), i = 1, , N are real.
2.5-7
2.5-8
A Gram matrix G is also positive semidefinite, so i (t ) 0, i = 1, , N . We assumed the original basis set was linearly independent, so this makes
G positive definite, i (t ) > 0, i = 1, , N .
1 2 1 2 , , Choose W = Q1 2Q (where 1 2 = diag N ) , so that 1
W G W = Q1 2Q G Q1 2Q = Q1 2 1 2Q = I
(Q
1 2
Q Q1 2Q = Q1Q = G 1
)(
And thats orthogonalization by eigendecomposition. This eigenmethod of creating an orthonormal basis is useful, since we have a diagonal form, rather than the triangular form of the G-S method. However, it is not as easily extended with additional signal waveforms.
2.5-8
2.5-9
For completeness, deal with the possibility that there are at most M < N linearly independent functions in the original basis set, so G is rankdeficient (rank M ). Since some eigenvalues are zero, how can we form
1 2 ? Heres how:
12 o Choose W = Q M M Q M . Then 12 1 2 1 2 1 2 W G W = Q M M QM G QM M QM = M M M = I
2.5-9