||Bitwise AND of two fi objects|
||Bitwise OR of two fi objects|
||Shift bits specified number of places|
||CORDIC-based absolute value|
||CORDIC-based phase angle|
||CORDIC-based four quadrant inverse tangent|
||CORDIC-based approximation of Cartesian-to-polar conversion|
||CORDIC-based approximation of complex exponential|
||CORDIC-based approximation of cosine|
||CORDIC-based approximation of polar-to-Cartesian conversion|
||Rotate input using CORDIC-based approximation|
||CORDIC-based approximation of sine|
||CORDIC-based approximation of sine and cosine|
||CORDIC-based approximation of square root|
Develop and verify a simple fixed-point algorithm.
This example shows how to use both CORDIC-based and lookup table-based algorithms provided by Fixed-Point Designer to approximate the MATLAB sine and cosine functions.
This example shows how to compute sine and cosine using a CORDIC rotation kernel in MATLAB.
This example shows how to use the CORDIC algorithm, polynomial approximation, and lookup table approaches to calculate the fixed-point, four quadrant inverse tangent.
This example shows how to write MATLAB code that works for both floating-point and fixed-point data types. The algorithm used in this example is the QR factorization implemented via CORDIC.
This example shows how to compute square root using a CORDIC kernel algorithm in MATLAB.
This example shows how to convert Cartesian to polar coordinates using a CORDIC vectoring kernel algorithm in MATLAB.
This example shows how to normalize data for use in lookup tables.
This example shows how to implement fixed-point log2 using a lookup table. Lookup tables generate efficient code for embedded devices.
This example shows how to implement fixed-point square root using a lookup table.
This example converts a
dsp.FIRFilter System object™, which filters a high-frequency sinusoid signal, to fixed-point using the Fixed-Point Converter app.
This example shows how to explore and test fixed-point designs by distributing tests across many computers in parallel.
Gives an example that shows that the order in which you set overflow action and rounding method matters
Gives an example of using a
to share modular arithmetic information among multiple
Shows the differences among the different settings
Describes which functions ignore or discard fimath
You can use the Fixed-Point Converter app to automatically propose and apply data types for commonly used system objects.
How to fix mismatched fimath errors
How to get the fi constructor to follow globalfimath rules
A fraction length greater than the word length of a fixed-point number occurs when the number has an absolute value less than one and contains leading zeros.
How to troubleshoot missing data type proposals for System objects