matlab atan2(matlab atan2)

atan2

四象限反正切

语法

P = atan2(Y,X)
>> atan2(4,-3)

ans =

    2.2143

>> 
>> atan2(-5,-5)*180.0/3.1415926

ans =

 -135.0000

>> 

#######################

————————

atan2

Four quadrant inverse tangent

grammar

P = atan2(Y,X)
>> atan2(4,-3)

ans =

    2.2143

>> 
>> atan2(-5,-5)*180.0/3.1415926

ans =

 -135.0000

>> 

#######################