How to create 3D grid from data without interpolation?
Mostra commenti meno recenti
Hey,
is there some function like griddata which doesnt interpolate the z data? I need some function to save all z values or the mean in the specific x,y segment.
Thanks for you help!
10 Commenti
wkm42
il 4 Lug 2016
José-Luis
il 4 Lug 2016
Sorry, I don't get it.
How do you define your brackets?
What is the result you expect? Why [2,2]?
wkm42
il 4 Lug 2016
José-Luis
il 4 Lug 2016
That still looks like interpolation to me. It looks like you might want to find the nearest neighbor.
wkm42
il 4 Lug 2016
José-Luis
il 5 Lug 2016
I'm sorry: I don't quite get what you are after. Maybe try the 'nearest' option for griddata()?
Risposte (1)
Radu Trimbitas
il 4 Lug 2016
0 voti
interp2() has options for cubic or spline
Categorie
Scopri di più su Interpolation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
