Interpolation of Vectors with different axes

6 Ansichten (letzte 30 Tage)
Anum
Anum am 17 Apr. 2024
Verschoben: Voss am 17 Apr. 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

Antworten (1)

Torsten
Torsten am 17 Apr. 2024
Verschoben: Torsten am 17 Apr. 2024
Why don't you interpolate both vectors separately (i.e. with two calls to interp2) ?
  1 Kommentar
Anum
Anum am 17 Apr. 2024
Verschoben: Voss am 17 Apr. 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).

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Interpolation finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by