Hermite interpolation
No License
This is a solution of Hermite interpolation problem.
example:
A=[-1 2 -1 inf; 0 1 inf inf;1 -1 -1 8]
x f(x) f'(x) f''(x) . . .
A =
-1 2 -1 Inf
0 1 Inf Inf
1 -1 -1 8
If you don't know the derive values, just write Inf.
Use this command: difftable(A)
And you can see the divided difference table, and the
symbolic form of approximation polinomial.
The function returns the coefficient vector of polinomial.
You can use this function for calculate Newton form of
interpolation.
example:
A =
-1 2
0 1
1 -1
Author: Árpád Tóth
Eötvös University, Budapest
arpi@elte.hu
Cite As
Árpád Tóth (2024). Hermite interpolation (https://www.mathworks.com/matlabcentral/fileexchange/14353-hermite-interpolation), 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 | Previusly version contains a mistake. (Missing diveding a factorial) |