Main Content

Fixed-Point Matrix Operations in MATLAB

Optimized fixed-point math operations, matrix solvers, and matrix decomposition functions for efficient code

Use these functions to perform fixed-point math and matrix operations and generate efficient code. These functions solve systems of linear equations and perform matrix decompositions in a way that is efficient for embedded devices.

Functions

expand all

ceilDivRound the result of division toward positive infinity
fixed.cordicDivideFixed-point divide using CORDIC
fixed.cordicReciprocalFixed-point reciprocal using CORDIC
fixDivRound the result of division toward zero
floorDivRound the result of division toward negative infinity
nearestDivRound the result of division toward the nearest integer
modByConstantModulus after division by a constant denominator
fixed.backwardSubstituteSolve upper-triangular system of equations through backward substitution
fixed.forwardSubstituteSolve lower-triangular system of equations through forward substitution
fixed.jacobiSVDFixed-point Jacobi singular value decomposition
fixed.qlessQRQ-less QR decomposition
fixed.qlessQRUpdateUpdate QR factorization
fixed.qrABCompute C = Q'B and upper-triangular factor R
fixed.qrMatrixSolveSolve system of linear equations Ax = B for x using QR decomposition
fixed.qlessQRMatrixSolveSolve system of linear equations (A'A)X = B for X using Q-less QR decomposition
fixed.svdFixed-point Golub-Kahan-Reinsch singular value decomposition
svdFixed-point Golub-Kahan-Reinsch singular value decomposition
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
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
fixed.realQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued AX=B using QR decomposition
fixed.complexQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued AX=B using QR decomposition
fixed.realQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued A'AX=B using QR decomposition
fixed.complexQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued A'AX=B using QR decomposition
fixed.realSingularValueLowerBoundEstimate lower bound for smallest singular value of real-valued matrix
fixed.complexSingularValueLowerBoundEstimate lower bound for smallest singular value of complex-valued matrix
fixed.singularValueUpperBoundUpper bound of largest singular value of matrix
fixed.realConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of real-valued matrix
fixed.complexConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of complex-valued matrix
fixed.forgettingFactorCompute forgetting factor required for streaming input data
fixed.forgettingFactorInverseCompute the inverse of the forgetting factor required for streaming input data
fixed.realQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of real-valued signal
fixed.complexQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of complex-valued signal

Topics