Difference between revisions of "Interpolation"
From Sutherland_wiki
m (→Lagrange Polynomial Interpolation) |
m |
||
Line 1: | Line 1: | ||
== Linear Interpolation == | == Linear Interpolation == | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | ==== Implementation in Matlab ==== | ||
+ | |||
+ | ==== Implementation in Excel ==== | ||
+ | |||
+ | |||
+ | |||
== Polynomial Interpolation == | == Polynomial Interpolation == | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | ==== Implementation in Matlab ==== | ||
+ | |||
+ | |||
== Cubic Spline Interpolation == | == Cubic Spline Interpolation == | ||
+ | |||
+ | === Example === | ||
+ | |||
+ | ==== Implementation in Matlab ==== | ||
+ | |||
Revision as of 07:59, 15 July 2008
Contents
Linear Interpolation
Example
Implementation in Matlab
Implementation in Excel
Polynomial Interpolation
Example
Implementation in Matlab
Cubic Spline Interpolation
Example
Implementation in Matlab
Lagrange Polynomial Interpolation
Given points the order Lagrange polynomial that interpolates these function values, are expressed as
where is the Lagrange polynomial given by
and . In other words, for an order interpolation, we require points.
The operator represents the continued product, and is analogous to the operator for summations. For example, .