DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

arctan from -pi to pi

I want to calculate tan inverse with my data but the problem is the moment Atan crosses +90° or -90° it goto -90° and +90° respectively i want it to calculate the value the way it is coming without changing the trend of the data (may be from -pi to pi)

 

attached is the picture of how the value suddenly jumps to 90 deg in either directions.

 

because of this the little curve gets cut and move to the upper edge of the graph as in attachment.

 

 

every time i post this message it goes to labview forum??

0 Kudos
Message 1 of 3
(3,711 Views)

Hello GDU,

 

In DIAdem you can use the function ATANK for such calculations.

 

Greetings

Walter

0 Kudos
Message 2 of 3
(3,708 Views)

thanks for this but i tried with ATANK also its range is 0 to 2 pi and it also shows same kind of phase jump at different location. But i have programmed the atan calculation for ±70° jump inside my script. it is working fine currently in case there are any issues i come back.

0 Kudos
Message 3 of 3
(3,699 Views)