Lab6 Fourier Series Approximation Using Ordinary Least Squares

Lab6 Fourier Series Approximation Using Ordinary Least Squares

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
6 F OURIER S ERIES A PPROXIMATION U SING O RDINARY L EAST S QUARES 6.1 O BJECTIVES The objective of this lab is to familiarize you with the basics of the Fourier series analysis using artificial signals. 6.2 I NTRODUCTION The Fourier series analysis is one of the foundations of signal processing. The assumption here is that the signal has been present from –inf to + inf. The basic principle is that assume that any signal can be written as a sum of sine and cosine waves with coefficients. In formula form: () 0 11 cos sin nn f ta a n t b n ∞∞ == =+ + ∑∑ t (1.) The term is simply the mean value of the signal (type help mean). Also, the cos and sin terms can be estimated separately using the OLS method. From the previous lab, we know that the parameter vector can be estimated based on the regressor matrix A and the data vector 0 a y as follows: ( ) 1 TT AA Ay θ = (2) If we substitute the following model 1 cos n n f = = n t (3.) into the OLS estimator equation we get a coefficient (parameter) vector and a regressor matrix as follows: 1 2 3 4 5 a a a a a ⎛⎞ ⎜⎟ ⎝⎠
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
(4.) 1111 cos cos2 cos3 cos4 cos5 cos mmmm tttt A ⎛⎞ ⎜⎟ = ⎝⎠ 1 m t t The combination becomes a unity matrix, and therefore the OLS estimator can be written as follows. () 1 T AA 2 T Ay N θ = (5.) Where N is the number of data points. Now the coefficient estimation boils down to taking the
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

Lab6 Fourier Series Approximation Using Ordinary Least Squares

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online