Signal Representation in Terms of Basis Function: T A T X
Signal Representation in Terms of Basis Function: T A T X
– Dealing with the linear system we can add up all the individual
m t
amthrough
results, i.e. what happens to each of the the
system, to find the result we want.
– Now consider
xt a t
m m
m
M
xt a t
m m
m N
xt a N N t aM M t
– The reason for this is they form the eigenfunctions of LTI. Follow
the following rules in the choice of basis functions :
1. Choose the basis functions so that they can represent all time
functions, i.e. with an infinite number of basic functions
approximation should be perfect. In practice, we make do with
a finite number of basis functions and some error.
t
1 2
t
n t dt
* 0, k n
k , k n
t1 t 2 t1
k
– If the above equation is true we say that n t form an orthogonal
set of basis functions, where k = n, the equation reduces to
t
1 2
t
n t dt
*
t1 t 2 t1
n
which should look familiar as the formula for the average power in
the interval ( t1 , t2 ), note the requirement of complex conjugatation
for calculating the power of a complex sequence.
1
cos2 k n t cos2 k n t dt
2
I
I
2 2 k n 2 k n 0.5
I 0, k 0
I 0.5, k n
where the fact that sin x / x (for small ) has been used.
– A point to note about using sine waves as a set of basis functions
is that no amount of sine functions (without phase shift that is) can
ever be added to make a cosine function. The reason for this is
that sine is an odd function and cosine is an even function.
– Also note that when k = n the equation gives the power in a
sinewave, i.e. 0.5 (this is signal not circuit theory so we have left
out the resistance).
2. Polynomial
A set of basis functions defined by
m t t m m 0
These can be used to represent a well-behaved function over a finite
interval by the use of a Taylor series and hence there is no argument that
these are potentially useful functions.
The signal is represented by
N
Thus xt amt m
m 0
0 t 1
1 t t
2 t on
The question is are they orthogonal
2
t the interval (-0.5,+0.5) ?
I 0 if (n+m+1) is
odd
0.5 I = 0 if (n+m+1) is
even I
1
0.5 0.5 0.5
t n m *
t dt
0. 5
t n m 1
I
n m 1 0. 5
Thus the set is not orthogonal as it can be non-zero for n m, e.g.
n t t 0 m and
t t2
Remember it is not good enough to be zero for just some n m, it has to
be for all values.
I = 0 for m n I e j 2 m n t dt
I = 1 for m = n 0.5
k
4. Determining the coefficients of the basis functions
Suppose we have a set of orthogonal basis functions
n t
which meet the orthogonality conditions. That means we can write
an arbitrary periodic function of time x(t) as the following,
xt am m t
m
and also the equation of orthogonality is hold.
A simple way of seeing how to do this is to examine the problem of
approximating a function f(t) over an interval [-T/2,+T/2] by a weighted
sum of just two real basis functions and (note since
the basis functions are real we have dropped the conjugate). t 1
t 2
The problem is to choose a1 and a2 optimally. One way is to minimise the
mean square error, f t a11 t a22 t
T /2
E
1
f t a
1 1 t a
2 2 t 2
dt
T T / 2
We can thus differentiate partially with respect to a1 to obtain the
following condition for a minimum
E 1 T / 2
a1 a1 T T/ 2
f t a
1 1 t a
2 2 t
2
dt
E 1 T / 2
a1 T T/ 2 a1
f t a11 t a 2 2 t
2
dt
E T /2
equal to zero.
f t 1 t dt a
are orthogonal
1 1 t 2
dt a 2 2 t
on [-T/2,+T/2] the
1 t dt 0
T T / 2 T / 2 T / 2
If we had more than just two non-orthogonal basis functions the
1 t cross
number of these t rapidly becomes unmanageable and would
2term
mean we have to solve a large set of simultaneous equations to find the
optimal coefficients of the basis functions.
Then we have
T /2 T /2
1
1
T T/ 2 T T/ 2
f t 1 t dt a1 1 t
2
dt
Therefore
T /2
f t t dt
1
where a1
a1T
1
T / 2
T /2
It is important to realise athat
1
t 2
dta and a are independent
T because
1 1
1 2
T / 2
a1 can be determined independently of a2 and vice versa.
Now there are some conditions where it is not possible to calculate the
expansion given in the signal representation but when dealing with
Fourier series (either sine and cosine form or the complex exponential
form) and a periodic signal obtained from real world measurements, it
can always be done.
Now let the period of the signal x(t) be equal to T. The way to determine
the coefficients an representation is to multiply by the
in the signal
conjugate of the corresponding basis functions, i.e. and
n t over one period.
*
integrate
I
1
x t *
n t dt
T t0
T t0
am m t n* t dt
1
I
T
t0 m
T t0
The reason we can arrange a
I them above m t *
n t
and then do each part separately.
equation
dt is that integration is
T
linear, i.e. we can split it up minto parts
t 0
Now since the basis functions m t
are orthogonal, we know for the
previous equation that
T t0
m t *
n t dt
0 t
is only non-zero for m = n, then the above equation can thus reduced
to
T t0
n n t dt
a
I n t *
T t0
Now this is the most general form of finding the coefficients of a set of
orthogonal functions. From the above equations we can derive the
formula for Series Fourier series using sin and cos terms, or complex
exponentials, or Walsh function
Parseval’s Theorem
Power in the signal = the sum of powers associated with the
basis functions
The most general formula for the average power in a signal over a
periode of time (i.e. one that can deal with x(t) even when it is a complex
function of time) is
1 t2
P x t x* t dt
t 2 t 1 ttheorem can be stated as
In mathematical terms Parseval’s 1
1 t2
P x t x* t dt a a *
t 2 t1 t 1
m
m m m
a m
2
P m
m
We can derive this, for a signal of period , as
2
follows,
t t 1
T with
remembering all the time that xby a m m t
t using
m
*
1 t2 1 t2
P
t 2 t1 t
x t x* t dt
x t a m m
t 2 t 1 t 1 m
t dt
1
1 t2
P a m x t m t dt a a
* * *
m t 2 t1 t 1
m
m m m
am m
2
P
Note we have used m the linierity of the summation and integration
j j j
2 2
2