Using CORDIC to perform the QR Factorization System
Version 1.0.0 (743 KB) by
BLAISE KEVINE
THE COMPILATION OF COMPLEX MATRICES Using Coordinate Rotation Digital Computer to perform the QR Factorization System
- A good way to write an algorithm intended for a fixed-point target is to write it in MATLAB using built-in floating-point types so we can verify that the algorithm works. When we refine the algorithm to work with fixed-point types, then the best thing to do is to write it so that the same code continues working with floating-point. That way, when we are debugging, then we can switch the inputs back and forth between floating-point and fixed-point types to determine if a difference in behavior is because of fixed-point effects such as overflow and quantization versus an algorithmic difference. Even if the algorithm is not well suited for a floating-point target (as is the case of using CORDIC in the following case), it is still advantageous to have your MATLAB code work with floating-point for debugging purposes. In contrast, we may have a completely different strategy if our target is floating point. For example, the QR algorithm is often done in floating-point with Householder transformations and row or column pivoting. But in fixed-point it is often more efficient to use CORDIC to apply Givens rotations with no pivoting.
Cite As
BLAISE KEVINE (2024). Using CORDIC to perform the QR Factorization System (https://www.mathworks.com/matlabcentral/fileexchange/162716-using-cordic-to-perform-the-qr-factorization-system), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: MATLAB in Physics - Matrices, The Matrix Function Toolbox, New Desktop for MATLAB (Beta), The Matrix Computation Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |