Main Content
fixed.cordicDivide
Description
divides y
= fixed.cordicDivide(num
,den
,OutputType
)num
by den
using the output data type
specified by OutputType
.
Examples
Input Arguments
More About
Algorithms
For fixed-point inputs num
and den
,
fixed.cordicDivide
wraps on overflow for division by zero. The behavior
for fixed-point division by zero is summarized in the table below.
Wrap Overflow | Saturate Overflow |
---|---|
0/0 = 0 | 0/0 = 0 |
1/0 = 0 | 1/0 = upper bound |
-1/0 = 0 | -1/0 = lower bound |
For floating-point inputs, fixed.cordicDivide
follows IEEE® Standard 754.
Extended Capabilities
Version History
Introduced in R2020b