Scattered Interpolant in matlab
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
SGK
am 14 Feb. 2024
Bearbeitet: Catalytic
am 18 Feb. 2024
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.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 14 Feb. 2024
The interpolation Method options are 'linear', 'nearest' and 'natural' (natural neighbor interpolation, giving no details that I can find, only an example).
3 Kommentare
Star Strider
am 18 Feb. 2024
I always experiment with all of them tto see which gives the best result, and again it depends on what I want to do (interpolate in a region, or draw a line on the surface, for example, because scatteredInterpolant computes lines well).
With respect to extrapolation, I again experiment, although in that instance, usually end up using 'nearest'.
Weitere Antworten (2)
the cyclist
am 14 Feb. 2024
Bearbeitet: the cyclist
am 14 Feb. 2024
No, according to the documentation for scatteredInterpolant, the available extrapolation methods are 'nearest', 'linear', or 'none'.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Interpolation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!