Interpolation of Vectors with different axes

6 vues (au cours des 30 derniers jours)
Anum
Anum le 17 Avr 2024
Déplacé(e) : Voss le 17 Avr 2024
Hello,
I have two vectors of size [128 512] each. The x and y dimensions represent the range and angle values, respectively. The range axes is same for both the vectors but the angle axes is different. What would be the best way to interpolate these two vectors to obtain new set of angle values.
Best Regards

Réponses (1)

Torsten
Torsten le 17 Avr 2024
Déplacé(e) : Torsten le 17 Avr 2024
Why don't you interpolate both vectors separately (i.e. with two calls to interp2) ?
  1 commentaire
Anum
Anum le 17 Avr 2024
Déplacé(e) : Voss le 17 Avr 2024
I tried to interpolate both vectors seperately to the new grid with interp1 (as the range axes before/ after interpolation remains the same) but then I am left with two seperate interpolated vectors.
What I am looking to obtain is a new set of angle values formed by the interpolation of the angles from the two vectors (probably with interp2 but I am a bit stuck in how to implement it).

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by