Interpolation of Vectors with different axes

30 visualizaciones (últimos 30 días)
Anum
Anum el 17 de Abr. de 2024 a las 12:07
Movida: Voss el 17 de Abr. de 2024 a las 13:43
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

Respuestas (1)

Torsten
Torsten el 17 de Abr. de 2024 a las 12:15
Movida: Torsten el 17 de Abr. de 2024 a las 12:16
Why don't you interpolate both vectors separately (i.e. with two calls to interp2) ?
  1 comentario
Anum
Anum el 17 de Abr. de 2024 a las 12:35
Movida: Voss el 17 de Abr. de 2024 a las 13:43
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).

Iniciar sesión para comentar.

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by