Compute the value of Lagrange polynomial at given points

版本 1.4.0.0 (2.0 KB) 作者: Hongkai Dai
The function computes the value of a Lagrange polynomial with mesh points x and mesh values y.
439.0 次下载
更新时间 2013/10/23

查看许可证

The function is implemented based on Barycentric method. The code is vectorized for fast speed. The mesh points x is a row vector. The mesh value y is a matrix, with each row representing the mesh values of a polynomial. y(i,j) is the value of the i'th polynomial at mesh points j. The return value p is a matrix, with p(i,j) to be the value of the i'th polynomial at points t(j)

引用格式

Hongkai Dai (2024). Compute the value of Lagrange polynomial at given points (https://www.mathworks.com/matlabcentral/fileexchange/36522-compute-the-value-of-lagrange-polynomial-at-given-points), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interpolation 的更多信息
标签 添加标签

Community Treasure Hunt

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

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

Change the 'equal' between two double precision numbers to 'approximate equal'. Replace all 'repmat' to 'bsxfun' to speed up computation

1.2.0.0

change the description of the file

1.1.0.0

change some description

1.0.0.0