Embedded Systems Conference
Breaking News
Blog

Make Field-oriented Motor Control Affordable

NO RATINGS
View Comments: Newest First | Oldest First | Threaded View
traneus
User Rank
Author
C has fix for singularity
traneus   4/24/2015 7:17:13 PM
NO RATINGS
C function atan2() fixes the singularity in the equation for theta, by passing the numerator and denominator as separate arguments:

theta = atan2(EMFbeta,EMFalpha)

March 2015 Cartoon Caption Contest: Mountain Climbing
March 2015 Cartoon Caption Contest: Mountain Climbing
The mountain had formed millions of years before when two tektronix plates collided.
208 comments
Flash Poll
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Times on Twitter
EE Times Twitter Feed
Top Comments of the Week