Lecture 17 - Approximation Methods CVEN 302 July 17, 2002.

Slides:



Advertisements
Similar presentations
Leo Lam © Signals and Systems EE235 Leo Lam.
Advertisements

Lecture 7: Basis Functions & Fourier Series
Lecture 15 Orthogonal Functions Fourier Series. LGA mean daily temperature time series is there a global warming signal?
Data Modeling and Parameter Estimation Nov 9, 2005 PSCI 702.
Engineering Mathematics Class #15 Fourier Series, Integrals, and Transforms (Part 3) Sheng-Fang Huang.
Fourier Integrals For non-periodic applications (or a specialized Fourier series when the period of the function is infinite: L  ) L -L L  -L  - 
Techniques in Signal and Data Processing CSC 508 Frequency Domain Analysis.
Frequency Domain The frequency domain
MATHEMATICAL METHODS.
Function Approximation
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 26 Regression Analysis-Chapter 17.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
Time and Frequency Representation
Physics 114: Lecture 17 Least Squares Fit to Polynomial
Numerical algorithms for power system protection Prof. dr. sc. Ante Marušić, doc. dr. sc. Juraj Havelka University of Zagreb Faculty of Electrical Engineering.
1 The Spectral Method. 2 Definition where (e m,e n )=δ m,n e n = basis of a Hilbert space (.,.): scalar product in this space In L 2 space where f * :
Least-Squares Regression
CpE- 310B Engineering Computation and Simulation Dr. Manal Al-Bzoor
Lecture 7 Fourier Series Skim through notes before lecture Ask questions in lecture After lecture read notes and try some problems See me in E47 office.
Chapter 9 Function Approximation
Lecture 22 MA471 Fall Advection Equation Recall the 2D advection equation: We will use a Runge-Kutta time integrator and spectral representation.
Regression analysis Control of built engineering objects, comparing to the plan Surveying observations – position of points Linear regression Regression.
Fourier Series and Transforms Clicker questions. Does the Fourier series of the function f converge at x = 0? 1.Yes 2.No 0 of 5 10.
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
Image Enhancement in the Frequency Domain Spring 2006, Jen-Chang Liu.
Spectral Analysis AOE March 2011 Lowe 1. Announcements Lectures on both Monday, March 28 th, and Wednesday, March 30 th. – Fracture Testing –
WAVELET TRANSFORM.
1 Chapter 5 Image Transforms. 2 Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post Processing Scaling.
Lecture 22 - Exam 2 Review CVEN 302 July 29, 2002.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Chapter 7: The Fourier Transform 7.1 Introduction
Today’s class Spline Interpolation Quadratic Spline Cubic Spline Fourier Approximation Numerical Methods Lecture 21 Prof. Jinbo Bi CSE, UConn 1.
The Rational Root Theorem The Rational Root Theorem gives us a tool to predict the Values of Rational Roots:
Curve-Fitting Regression
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
10/18/2013PHY 711 Fall Lecture 221 PHY 711 Classical Mechanics and Mathematical Methods 10-10:50 AM MWF Olin 103 Plan for Lecture 22: Summary of.
Integral Transform Method CHAPTER 15. Ch15_2 Contents  15.1 Error Function 15.1 Error Function  15.2Applications of the Laplace Transform 15.2Applications.
Lecture 7 - Systems of Equations CVEN 302 June 17, 2002.
Signals & Systems Lecture 13: Chapter 3 Spectrum Representation.
Lecture 16 - Approximation Methods CVEN 302 July 15, 2002.
7- 1 Chapter 7: Fourier Analysis Fourier analysis = Series + Transform ◎ Fourier Series -- A periodic (T) function f(x) can be written as the sum of sines.
Lecture 10 - Nonlinear gradient techniques and LU Decomposition CVEN 302 June 24, 2002.
Lecture 6 - Single Variable Problems & Systems of Equations CVEN 302 June 14, 2002.
Fourier and Wavelet Transformations Michael J. Watts
Curve Fitting Introduction Least-Squares Regression Linear Regression Polynomial Regression Multiple Linear Regression Today’s class Numerical Methods.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Eigenfunctions Fourier Series of CT Signals Trigonometric Fourier.
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
Sheng-Fang Huang Fourier Series Fourier series are the basic tool for representing periodic functions. A function ƒ(x) is called a periodic function.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Eigenfunctions Fourier Series of CT Signals Trigonometric Fourier Series Dirichlet.
Environmental Data Analysis with MatLab 2 nd Edition Lecture 22: Linear Approximations and Non Linear Least Squares.
Convergence of Fourier series It is known that a periodic signal x(t) has a Fourier series representation if it satisfies the following Dirichlet conditions:
Legendre Polynomials Recurrence Relation
An inner product on a vector space V is a function that, to each pair of vectors u and v in V, associates a real number and satisfies the following.
Then,  Fourier Series: Suppose that f(x) can be expressed as the following series sum because Fourier Series cf. Orthogonal Functions Note: At this point,
Mayda M. Velasco Winter Classical Mechanics: Lecture #20.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
k is the frequency index
Integral Transform Method
Elementary Linear Algebra
Fourier Series, Integrals, and Transforms
Fourier and Wavelet Transformations
Chapter 12 Curve Fitting : Fitting a Straight Line Gab-Byung Chae
Chapter 9 Function Approximation
Fourier Integrals For non-periodic applications (or a specialized Fourier series when the period of the function is infinite: L) -L L -L- L
Linear regression Fitting a straight line to observations.
k is the frequency index
Image Compression Techniques
Fourier Analysis Lecture-8 Additional chapters of mathematics
CHAPTER 8. Approximation Theory
Presentation transcript:

Lecture 17 - Approximation Methods CVEN 302 July 17, 2002

Lecture’s Goals Discrete Least Square Approximation (cont.) –Nonlinear Continuous Least Square –Orthogonal Polynomials –Gram Schmidt -Legendre Polynomial –Tchebyshev Polynomial –Fourier Series

Nonlinear Least Squared Approximation Method How would you handle a problem, which is modeled as:

Nonlinear Least Squared Approximation Method Take the natural log of the equations and

Least Square Fit Approximations Suppose we want to fit the data set.

Linear Least Square Approximations Use:

Least Square Fit Approximations We would like to find the best straight line to fit the data? y = x

Nonlinear Least Square Approximations Use:

Nonlinear Least Square Example The equation is:

Nonlinear Least Square Approximations Use:

Nonlinear Least Square Approximations The exponential approximation fits the data. The power approximation does not fit the data.

Continuous Least Square Functions Instead of modeling a known complex function over a region, we would like to model the values with a simple polynomial. This technique uses a least squares over a continuous region. The coefficients of the polynomial can be determined using same technique that was used in discrete method.

Continuous Least Square Functions The technique minimizes the error of the function uses an integral. where

Continuous Least Square Functions Take the derivative of the error with respect to the coefficients and set it equal to zero. And compute the components of the coefficient matrix. The right hand side of the matrix will be the function we are modeling times a x value.

Continuous Least Square Function Example Given the following function: Model the function with a quadratic polynomial. from 0 to 1

Continuous Least Square Function Example The integral for the error is:

Continuous Least Square Function Example The integral for the components are:

Continuous Least Square Function Example The coefficient matrix becomes:

Continuous Least Square Function Example The right-hand side of the equation becomes:

Continuous Least Square Function Example The function becomes : f(x) = x x 2

Continuous Least Square Function There are other forms of equations, which can be used to represent continuous functions. Examples of these functions are Legrendre Polynomials Tchebyshev Polynomials Cosines and sines.

Legendre Polynomial The Legendre polynomials are a set of orthogonal functions, which can be used to represent a function as components of a function.

Legendre Polynomial These function are orthogonal over a range [ -1, 1 ]. This range can be scaled to fit the function. The orthogonal functions are defined as:

Legendre Polynomial The Legendre functions are:

Legendre Polynomial How would you work with a least square fit of a function.

Legendre Polynomial How would you work with a least square fit of a function.

Legendre Polynomial The coefficient a 0 is determined by the orthogonality of the Legendre polynomials:

Legendre Polynomial Example Given a simple polynomial: We want to throw a loop, let’s model it from 0 to 4 with f(x):

Legendre Polynomial Example The first step will be to scale the function: We know that at the ends are 0 and 4 for x and -1 to 1 for u so

Legendre Polynomial Example The coefficients are

Legendre Polynomial Example The Legendre functions must be adjusted to handle the scaling:

Tchebyshev Polynomial The Tchebyshev polynomials are another set of orthogonal functions, which can be used to represent a function as components of a function.

Tchebyshev Polynomial These function are orthogonal over a range [ -1, 1 ]. This range can be scaled to fit the function. The orthogonal functions are defined as:

Tchebyshev Polynomial The Tchebyschev functions are:

Tchebyshev Polynomial How would you work with a least square fit of a function.

Tchebyshev Polynomial How would you work with a least square fit of a function. Rearrange

Tchebyshev Polynomial The coefficients are determined as:

Continuous Functions Other forms of orthogonal functions are sines and cosines, which are used in Fourier approximation. The advantages for the sines and cosines are that they can model large time scales. You will need to clip the ends of the series so that it will have zeros at the ends.

Fourier Series The Fourier series takes advantage of the orthogonality of sines and cosines.

Fourier Series The time series or spatial series is generally clipped and the resulting coefficients are determined using Least Squared technique.

Fast Fourier Transforms The Fast Fourier Transforms (FFT) are discrete form of the equations. It takes advantage of the power of 2 to find the coefficients in the analysis of data. So when you hear FFT, it is technique developed by Black and Tukey in the early 60’s. To take advantage of the computer. It is a method to analysis the series.

Other Continuous Functions Wavelets are another form of orthogonal functions, which maintain the amplitude and phase information of the series. The techniques are used in data compression, earthquake modeling, wave modeling, and other forms of environmental loading. Etc.

Summary Developed a technique using Least Squared applications to nonlinear functions.

Summary Modeled the equations with continuous functions to describe the functions. – Polynomials –Legrendre Polynomials – Tchebyshev Polynomials – Cosines and Sines

Homework Check the homework webpage