Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Understanding Natural Cubic Interpolation: Spline Functions & Cubic Spline, Study Guides, Projects, Research of Numerical Methods in Engineering

Interpolation methods, focusing on Lagrange form and spline interpolation. The author explains the concept of spline interpolation, its advantages over polynomial interpolation, and the definition of natural cubic spline interpolation. The document also covers the mathematical representation of models and the importance of specifying control points.

Typology: Study Guides, Projects, Research

2021/2022

Uploaded on 09/27/2022

gilian
gilian 🇬🇧

4.6

(11)

228 documents

1 / 16

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Natural Cubic Interpolation
Jingjing Huang
10/24/2012
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Understanding Natural Cubic Interpolation: Spline Functions & Cubic Spline and more Study Guides, Projects, Research Numerical Methods in Engineering in PDF only on Docsity!

Natural Cubic Interpolation

Jingjing Huang 10/24/

Interpolation

• Construct a function crosses known points

• Predict the value of unknown points

Interpolation

• Polynomial Interpolation

  • Same polynomial for all points
  • Vandermonde Matrix, ill-conditioned

• Lagrange Form

  • Hard to evaluate

• Piecewise Interpolation

  • Different polynomials for each interval

Lagrange form

Given k+1 points

Define:

where

Lagrange form

• Example: interpolate f(x) = x^2 , for x = 1,2,

How to represent models

• Specify every point along a model?

  • Hard to get precise results
  • Too much data, too hard to work with generally

• Specify a model by a small number of “control

points”

  • Known as a spline curve or just spline

8

Spline Interpolation Definition

  • Given n +1 distinct knots x i such that:

with n +1 knot values yi find a spline function

with each Si ( x ) a polynomial of degree at most n.

Tangent

• The derivative of a curve represents the

tangent vector to the curve at some point

11

d x

dt

( ) t

x (^) ( ) t

  • Why cubic?
    • Good enough for some cases
    • The degree is not too high to be easily solved

13

Natural Cubic Spline Interpolation

  • Si(x) = aix^3 + bix^2 + cix + di (Given n points)
    • 4 Coefficients with n-1 subintervals = 4n-4 equations
    • There are 4n-6 conditions
      • Interpolation conditions
      • Continuity conditions
      • Natural Conditions
    • S’’(x 0 ) = 0
    • S’’(xn) = 0
    • O(n^3 )

Thanks