You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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)
Cite As
Hongkai Dai (2026). Compute the value of Lagrange polynomial at given points (https://se.mathworks.com/matlabcentral/fileexchange/36522-compute-the-value-of-lagrange-polynomial-at-given-points), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.4.0.0 (1.99 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 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 |
