Main Content

C2000 Division IQN

Divide IQ numbers


C2000™ Microcontroller Blockset/ Optimization/ C28x IQmath

  • C2000 Division IQN block


This block divides two numbers that use the same Q format, using the Newton-Raphson technique. The resulting quotient uses the same Q format at the inputs.


The implementation of this block does not call the corresponding Texas Instruments® library function during code generation. The TI function uses a global Q setting and the MathWorks® code used by this block dynamically adjusts the Q format based on the block input. See Using the IQmath Library for more information.


For detailed information on the IQmath library, see the user's guide for the C28x IQmath Library - A Virtual Floating Point Engine, Literature Number SPRC087, available at the Texas Instruments Web site. The user's guide is included in the zip file download that also contains the IQmath library (registration required).