Wavelet and Its Applications

Lab 1

http://www.ceremade.dauphine.fr/~peyre/numerical-tour/tours/introduction_basics

http://www.ceremade.dauphine.fr/~peyre/numerical-tour/tours/introduction_signal/

 

Problem 1

Fast Fourier transform (from MATLAB Help pages)

 

t = 0:0.001:0.6;

x = sin(2*pi*50*t)+sin(2*pi*120*t);

y = x + 2*randn(size(t));

plot(y(1:50))

title('Signal Corrupted with Zero-Mean Random Noise')

xlabel('time (seconds)')

 

Use the

 

fft

 

command to plot the power spectrum of y.