LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interpolating an array containing angles in degrees from

Solved!
Go to solution

I want to interpolate points in an array consisting of angles in degrees. The challenge is that when for example one element is 358 deg and the next is 2deg, the interpolation tends to insert an angle say 180 deg in between the two because it does not know that the absolute difference in the two angles is just 4deg. What I would like to see in between  is a value like 359 deg or 1deg ( taking the shorter path)   I am using the 1D interpolation vi. Any way around this ?

[BADGE NAME]

0 Kudos
Message 1 of 4
(2,958 Views)
Solution
Accepted by topic author blessedk

unwrap the phase, interpolate, rewrap the phase.

 

Do you have a VI and typical data?

Message 2 of 4
(2,942 Views)

Altennach, Thanks. Take one kudo without hesitation 🙂

[BADGE NAME]

0 Kudos
Message 4 of 4
(2,879 Views)