Scientific description of cubic spline (interpolation)
古いコメントを表示
Dear all,
I am writing a scientific article (quantitative economics), and I need to describe the 'spline' method (cubic spline interpolation) as in griddedInterpolant. I can't find much, except the description:
"The interpolated value at a query point is based on a cubic interpolation of the values at neighboring grid points in each respective dimension. The interpolation is based on a cubic spline using not-a-knot end conditions."
Can anybody help me with a more scientific description? Is this some kind of standard algorithm? I found some formula for the one dimensional case, but I need a more general description for multiple dimensions (at least up to 4 dimensions).
9 件のコメント
dpb
2021 年 11 月 9 日
Splines are a full branch of numerical methods of their own; the standard reference TMW lists is
[1] de Boor, Carl. A Practical Guide to Splines. Springer-Verlag, New York: 1978.
There's a discussion in the MATLAB doc on various end conditions at https://www.mathworks.com/help/curvefit/construct-cubic-spline-interpolants.html
Gargle has any number of hits; one that may be of interest for your purposes is at http://www.cs.tau.ac.il/~turkel/notes/numeng/spline_note.pdf
Sargondjani
2021 年 11 月 9 日
Jan
2021 年 11 月 10 日
In the spline interpolation the dimensions are treated independently. It is like a bunch of 1D-interpolations.
Did you read this already: https://en.wikipedia.org/wiki/Spline_interpolation
Sargondjani
2021 年 11 月 10 日
Sargondjani
2021 年 11 月 10 日
As an example,
A=rand(4);
x=3.7; y=1.2;
interp1( interp1(A,x,'spline') , y,'spline')
interp1( interp1(A',y,'spline') , x,'spline')
interpn(A,x,y,'spline')
Sargondjani
2021 年 11 月 10 日
Sargondjani
2021 年 11 月 12 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Splines についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!