Professional Documents
Culture Documents
Fourier To Wavelets
1.1 Introduction:
This first half of the signal is a sinusoid with a normalized frequency of 0.1 and
the other half has a normalized frequency of 0.3. If we look at the energy spectrum of
this signal there are two peaks at the respective frequencies as shown in below figure
The energy spectrum is perfectly valid, but the Fourier transform is essentially
an integral over time. Thus, we lose all information that varies with time. All we can
tell from the spectrum is that the signal has two distinct frequency components. In
other words, we can comment on what happens in a signal, not when it happens. For
example, in a song if we want to know when the drums kicked in, as well as what
notes were being played on the guitar a frequency analysis is not sufficient. If we
perform only frequency analysis, all time information would be lost and the only
information we would have would be about what frequencies were played in the song,
and what their respective amplitudes were, averaged over the duration of the entire
song.
The solution to this is time-frequency analysis that comprises those
techniques to study a signal in both the time and frequency domains simultaneously,
using various time–frequency representations. A popular choice to represent both time
and frequency characteristics is the Short-Time Fourier transform (STFT), which
transforms the input and aggregates the result in a 2-dimensional form, where one axis
represents frequency and the other represents time.
The STFT Segment the signal into narrow time intervals (i.e., narrow enough
to be considered stationary) and take the Fourier Transform (FT) of each segment.
Each Fourier Transform provides the spectral information of a separate time-
slice of the signal, providing simultaneous time and frequency information. The STFT
is given by
FT fu (t , u ) f (t ) e j 2 ut dt
t
Haar Wavelet:
The Haar sequence is recognised as the first known wavelet basis and the
simplest possible wavelet. The Haar wavelet is a sequence of rescaled square-shaped
functions which together form a wavelet family or basis. The technical disadvantage
of the Haar wavelet is that it is not continuous, and therefore not differentiable. This
property can however, be an advantage for the analysis of signals with sudden
transitions.
Wavelets always deal with basically two sets of functions namely scaling functions
and wavelet functions. Haar scaling function (t) defined as
1 0 t 1
(t)
0 elsewhere
f (t ) a (2t k )
k
k
Suppose you are given N values x = (x1, x2, … xN) where N is even.
For example, x = (6, 12, 15, 15, 14, 12, 120, 116) -> s = (9, 15, 13, 118)
We need second list of data d so that the original list x can be recovered from s and d.
(6, 12, 15, 15, 14, 12, 120, 116) -> (9, 15, 13, 118 | -3, 0, 1, 2)
(9, 15, 13, 118 | -3, 0, 1, 2) -> (12, 65.5 | -3, -52.5 | -3, 0, 1, 2)
(12, 65.5 | -3, -52.5 | -3, 0, 1, 2) -> (38.75 | -26.75 | -3, -52.5 | -3, 0, 1, 2)