Newton's Polynomial Interpolation
Versión 1.0.1 (4,14 KB) por
Roche de Guzman
Interpolates a scalar or vector yp = f(xp) with given x and y = f(x) vectors and xp query
Newton's Polynomial Interpolation based on Taylor's Series and finite differences.
Example data:
x = [1 4 6 5]; % x vector
y = log(x); % y = f(x) vector
xp = 2 or xp = [2 3]; % x point(s) (scalar or vector) query
Use:
yp = Newtoninterp(x,y,xp)
to calculate
yp = f(x point) point(s) (scalar or vector)
Citar como
Roche de Guzman (2025). Newton's Polynomial Interpolation (https://www.mathworks.com/matlabcentral/fileexchange/94050-newton-s-polynomial-interpolation), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2021a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.