Newton's Polynomial Interpolation

版本 1.0.1 (4.1 KB) 作者: Roche de Guzman
Interpolates a scalar or vector yp = f(xp) with given x and y = f(x) vectors and xp query
234.0 次下载
更新时间 2021/6/13

查看许可证

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)

引用格式

Roche de Guzman (2024). Newton's Polynomial Interpolation (https://www.mathworks.com/matlabcentral/fileexchange/94050-newton-s-polynomial-interpolation), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.1

updated the output size

1.0.0