wangjiahao88 发表于 2023-5-29 09:23:05

请问关于反正切函数的具体使用方法!

arm_status arm_atan2_f32(float32_t y,float32_t x,float32_t *result)



Computing Arc tangent only using the ratio y/x is not enough to determine the angle
since there is an indeterminacy. Opposite quadrants are giving the same ratio.

ArcTan2 is not using y/x to compute the angle but y and x and use the sign of y and x
to determine the quadrant.


这里说明的是,是确定象限的,请问一下,各位知道这个具体的使用方法是怎么样的吗?

eric2013 发表于 2023-5-29 10:11:34

和C库的atan2一样。区别C是返回值值,ARM库这个是形参返回。
页: [1]
查看完整版本: 请问关于反正切函数的具体使用方法!