Given values x, uses Lagrange interpolation to find F(x) and F'(x), where X and Y describe the function Y = F(X).
The syntax is similar to Matlab's interp1 function, except that the 4th input argument is the order of the polynomial used for interpolation.
I wrote this function to interpolate orbital positions of GPS satellites. Lagrange interpolation is well suited to this problem.
引用格式
Peter Cervelli (2025). lagrange.m (https://www.mathworks.com/matlabcentral/fileexchange/47387-lagrange-m), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2013b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |