Interpolation Dr. Mihail October 26, 2015 (Dr. Mihail) - - PowerPoint PPT Presentation

interpolation
SMART_READER_LITE
LIVE PREVIEW

Interpolation Dr. Mihail October 26, 2015 (Dr. Mihail) - - PowerPoint PPT Presentation

Interpolation Dr. Mihail October 26, 2015 (Dr. Mihail) Interpolation October 26, 2015 1 / 11 Definitions 1 Interpolation: method of constructing new data points from sampling or experimentation. (Dr. Mihail) Interpolation October 26, 2015


slide-1
SLIDE 1

Interpolation

  • Dr. Mihail

October 26, 2015

(Dr. Mihail) Interpolation October 26, 2015 1 / 11

slide-2
SLIDE 2

Definitions

1 Interpolation: method of constructing new data points from sampling

  • r experimentation.

(Dr. Mihail) Interpolation October 26, 2015 2 / 11

slide-3
SLIDE 3

Case study

Spoze we have

x f(x) 1 0.8415 2 0.9093 3 0.1411 4

  • 0.7568

5

  • 0.9589

6

  • 0.2794

(Dr. Mihail) Interpolation October 26, 2015 3 / 11

slide-4
SLIDE 4

Case study

Piecewise constant

(Dr. Mihail) Interpolation October 26, 2015 4 / 11

slide-5
SLIDE 5

Case study

Piecewise linear

(Dr. Mihail) Interpolation October 26, 2015 5 / 11

slide-6
SLIDE 6

Case study

Piecewise linear

Given two data points, say (xa, ya) and (xb, yb), the interpolant function is given by: y = ya + (yb − ya) x−xa

xb−xa

(Dr. Mihail) Interpolation October 26, 2015 6 / 11

slide-7
SLIDE 7

Case study

Polynomial

f (x) = −0.0001521x6 −0.003130x5 +0.07321x4 −0.3577x3 +0.2255x2 +0.9038x

(Dr. Mihail) Interpolation October 26, 2015 7 / 11

slide-8
SLIDE 8

Other methods

Interpolation Methods

Piecewise polynomial Spline Barycentric coordinates for interpolating on a triangle or tetrahedron Gaussian process And others...

(Dr. Mihail) Interpolation October 26, 2015 8 / 11

slide-9
SLIDE 9

2D functions

Extend concept to multivariate functions

(Dr. Mihail) Interpolation October 26, 2015 9 / 11

slide-10
SLIDE 10

Bilinear interpolation

Problem setting

Suppose you have a function f (x, y). You know the value of that function for a limited number of points (e.g., 4 points). Your goal is to approximate the function at arbitrary points (x, y).

(Dr. Mihail) Interpolation October 26, 2015 10 / 11

slide-11
SLIDE 11

Bilinear interpolation

We first do linear interpolation along the X-axis: R1 = f (x, y1) ≈ x2 − x x2 − x1 f (Q11) + x − x1 x2 − x1 f (Q21) R2 = f (x, y2) ≈ x2 − x x2 − x1 f (Q12) + x − x1 x2 − x1 f (Q22)

(Dr. Mihail) Interpolation October 26, 2015 11 / 11

slide-12
SLIDE 12

Bilinear interpolation

We then do linear interpolation along the Y-axis: f (x, y) ≈ y2 − y y2 − y1 f (x, y1) + y − y1 y2 − y1 f (x, y2)

f (x, y) ≈ 1 (x2 − x1)(y2 − y1) (f (Q11)(x2−x)(y2−y)+f (Q21)(x−x1)(y2−y)+f (Q12)(x2−x)(y−y1)+f (Q22)(x−x1)(y−y1)) (Dr. Mihail) Interpolation October 26, 2015 12 / 11