Interpolation of Vectors with different axes

7 次查看(过去 30 天)
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

回答(1 个)

Torsten
Torsten 2024-4-17
移动:Torsten 2024-4-17
Why don't you interpolate both vectors separately (i.e. with two calls to interp2) ?
  1 个评论
Anum
Anum 2024-4-17
移动:Voss 2024-4-17
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).

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by