2D Spatial interpolation between two matrices

13 visualizzazioni (ultimi 30 giorni)
Daniel Mella
Daniel Mella il 27 Dic 2017
Commentato: Lucy Chen il 22 Dic 2020
Hi all,
I have a matrix V of 252x250 values with its corresponding spatial 2D coordinates (two matrices X1 and Y1 with 252x250 values each). Basically, I can see V spatially using pcolor(X1, Y1, V). I created a new coordinate system (two matrices X2 and Y2 with 252x250 values each) which is slightly different from X1 and Y1 (a little bit smaller). How can I interpolate V to this new coordinate system (X2, Y2)?
Thank you.
  1 Commento
Lucy Chen
Lucy Chen il 22 Dic 2020
Anyone kindly has an answer for this? Interp2 does not work. Thanks a lot

Accedi per commentare.

Risposte (1)

Star Strider
Star Strider il 27 Dic 2017
See if the interp2 (link) function will do what you want.

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by