Effacer les filtres
Effacer les filtres

How to create 3D grid from data without interpolation?

2 vues (au cours des 30 derniers jours)
wkm42
wkm42 le 4 Juil 2016
Commenté : José-Luis le 5 Juil 2016
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 commentaires
wkm42
wkm42 le 4 Juil 2016
Yes, but nearest neighbor doesnt seem to be a solution..
interp2(): If X and Y are grid vectors, then V must be a matrix containing length(Y) rows and length(X) columns.
I just got z as a vector
José-Luis
José-Luis le 5 Juil 2016
I'm sorry: I don't quite get what you are after. Maybe try the 'nearest' option for griddata()?

Connectez-vous pour commenter.

Réponses (1)

Radu Trimbitas
Radu Trimbitas le 4 Juil 2016
interp2() has options for cubic or spline

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by