Main Content

Fixed-Point Matrix Operations in MATLAB

Optimized CORDIC-based fixed-point matrix solvers and matrix decomposition functions for efficient code

Use these functions to perform fixed-point matrix operations and generate efficient C/C++ code. These functions solve systems of linear equations and perform core matrix operations, such as QR decomposition and singular value decomposition, using a CORDIC-based algorithm that is efficient for embedded devices. Use the included Fixed-Point Designer™ functions to analytically determine optimal fixed-point data types for the linear system solver and matrix factorization blocks.

For Simulink® block implementations of these algorithms, see Fixed-Point Matrix Operations in Simulink. For CORDIC-based and other embedded-efficient implementations of math operations in MATLAB® and Simulink, see Fixed-Point Math Operations in MATLAB and Simulink.

Functions

expand all

fixed.backwardSubstituteSolve upper-triangular system of equations through backward substitution (Since R2020b)
fixed.forwardSubstituteSolve lower-triangular system of equations through forward substitution (Since R2020b)
fixed.jacobiSVDFixed-point Jacobi singular value decomposition (Since R2023a)
fixed.qlessQRQ-less QR decomposition (Since R2020b)
fixed.qlessQRUpdateUpdate QR factorization (Since R2020b)
fixed.qrABCompute C = Q'B and upper-triangular factor R (Since R2020b)
fixed.qrMatrixSolveSolve system of linear equations Ax = B for x using QR decomposition (Since R2020b)
fixed.qlessQRMatrixSolveSolve system of linear equations (A'A)X = B for X using Q-less QR decomposition (Since R2020b)
fixed.svdFixed-point Golub-Kahan-Reinsch singular value decomposition (Since R2022b)
svdFixed-point Golub-Kahan-Reinsch singular value decomposition (Since R2022b)
fixed.qrFixedpointTypesDetermine fixed-point types for transforming A and R and B to C=Q'B in-place, where QR=A is QR decomposition of A (Since R2021b)
fixed.qlessqrFixedpointTypesDetermine fixed-point types for transforming A to R in-place, where R is upper-triangular factor of QR decomposition of A, without computing Q (Since R2021b)
fixed.realQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued AX=B using QR decomposition (Since R2021b)
fixed.complexQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued AX=B using QR decomposition (Since R2021b)
fixed.realQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued A'AX=B using QR decomposition (Since R2021b)
fixed.complexQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued A'AX=B using QR decomposition (Since R2021b)
fixed.realSingularValueLowerBoundEstimate lower bound for smallest singular value of real-valued matrix (Since R2021b)
fixed.complexSingularValueLowerBoundEstimate lower bound for smallest singular value of complex-valued matrix (Since R2021b)
fixed.singularValueUpperBoundUpper bound of largest singular value of matrix (Since R2022b)
fixed.realConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of real-valued matrix (Since R2022b)
fixed.complexConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of complex-valued matrix (Since R2022b)
fixed.forgettingFactorCompute forgetting factor required for streaming input data (Since R2021b)
fixed.forgettingFactorInverseCompute the inverse of the forgetting factor required for streaming input data (Since R2021b)
fixed.realQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of real-valued signal (Since R2021b)
fixed.complexQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of complex-valued signal (Since R2021b)

Topics

Featured Examples