Matlab Database > Interpolation > Interpolation by Polynomials > Newton interpolation

Matlab File(s)

Title: Newton interpolation
Primary Author: Alexeis Companioni
Other Authors:Vianka Orovio
E-Mail: alexeiscg-AT-gmail.com
Institution: University of Informatics Sciences
Description: Returns the interpolated value yy of a selected point xx by the Newton interpolation method.
Example:
x=[1.00, 1.05, 1.10, 1.15, 1.20, 1.25, 1.30];
y=[1.00000, 0.97350, 0.95135, 0.93304, 0.91817, 0.90640, 0.89747];
xx=1.17; error=0.00005;
[yy,E,d,n_iter] = interpola_newton(x,y,xx,error)

yy = 0.9267

E = 2.0944e-05

d = (...)

n_iter = 4
Keywords: ---
File Name: interpola_newton.m
File Size: 3 KB
File Version: 1.0
Matlab Version: 7.3.0
Date: 2008-05-02
Downloads: 1853
Download File

Upload your own files today! Click here for more information.