Lag_mod(v,X,Y,deg)
X is the node array. Y is the known solution at those nodes. v is the point for which we want the interpolation.
How to use: Specify degree of approximation in 'deg'. For example: I want a cubic Lagrange interpolation but my X and Y vectors have, lets say 30 points. Lag.m searches for the 4 nodes of X (and their Y associates) which are surrounding the inquiry point v, and only uses them for the interpolation. If a classical interpolation using all nodes is desired, specify 'all' in deg.
Cite As
Jorge Gutiérrez Gil (2024). Lag_mod(v,X,Y,deg) (https://www.mathworks.com/matlabcentral/fileexchange/65363-lag_mod-v-x-y-deg), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | . |