Scattered Interpolant in matlab
Show older comments
I have matrices xs,ys,z. All the matrices are stored in a workspace and has size 41x50.
I would like to interpolate and store them in 2D lookup table. is it possible to use spline/cubic method in scatteredinterpolant command?
I used in the code but getting these errors.

Accepted Answer
More Answers (2)
No. There is no such thing as spline interpolation or extrapolation when you are dealing with scattered data. It is inherently a gridded data thing.
the cyclist
on 14 Feb 2024
Edited: the cyclist
on 14 Feb 2024
0 votes
No, according to the documentation for scatteredInterpolant, the available extrapolation methods are 'nearest', 'linear', or 'none'.
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!