Fixed-Point Matrix Operations in MATLAB
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
Topics
- Determine Fixed-Point Types for QR Decomposition
Use
fixed.qrFixedpointTypes
to determine fixed-point types for computation of QR decomposition. - Determine Fixed-Point Types for Q-less QR Decomposition
Use
fixed.qlessqrFixedpointTypes
to determine fixed-point types for computation of Q-less QR decomposition. - Algorithms to Determine Fixed-Point Types for Complex Q-less QR Matrix Solve A'AX=B
Derivation of algorithms for determining fixed-point types for complex Q-less QR matrix solve.
- Determine Fixed-Point Types for Complex Q-less QR Matrix Solve A'AX=B
Use
fixed.complexQlessQRFixedpointTypes
to determine fixed-point types for computation of the complex least-squares matrix equation. - Determine Fixed-Point Types for Complex Q-less QR Matrix Solve with Tikhonov Regularization
This example shows how to use the
fixed.complexQlessQRMatrixSolveFixedpointTypes
function to analytically determine fixed-point types for the solution of the complex least-squares matrix equation - Algorithms to Determine Fixed-Point Types for Complex Least-Squares Matrix Solve AX=B
Derivation of algorithms for determining fixed-point types for complex QR matrix solve.
- Determine Fixed-Point Types for Complex Least-Squares Matrix Solve AX=B
Use
fixed.complexQRFixedpointTypes
to determine fixed-point types for computation of the complex least-squares matrix equation. - Determine Fixed-Point Types for Complex Least-Squares Matrix Solve with Tikhonov Regularization
This example shows how to use the
fixed.complexQRMatrixSolveFixedpointTypes
function to analytically determine fixed-point types for the solution of the complex least-squares matrix equation - Algorithms to Determine Fixed-Point Types for Real Q-less QR Matrix Solve A'AX=B
Derivation of algorithms for determining fixed-point types for real Q-less QR matrix solve.
- Determine Fixed-Point Types for Real Q-less QR Matrix Solve A'AX=B
Use
fixed.realQlessQRFixedpointTypes
to determine fixed-point types for computation of the real least-squares matrix equation. - Determine Fixed-Point Types for Real Q-less QR Matrix Solve with Tikhonov Regularization
This example shows how to use the
fixed.realQlessQRMatrixSolveFixedpointTypes
function to analytically determine fixed-point types for the solution of the real least-squares matrix equation - Algorithms to Determine Fixed-Point Types for Real Least-Squares Matrix Solve AX=B
Derivation of algorithms for determining fixed-point types for real least-squares matrix solve.
- Determine Fixed-Point Types for Real Least-Squares Matrix Solve AX=B
Use
fixed.realQRMatrixSolveFixedpointTypes
to determine fixed-point types for computation of the real least-squares matrix equation. - Determine Fixed-Point Types for Real Least-Squares Matrix Solve with Tikhonov Regularization
This example shows how to use the
fixed.realQRMatrixSolveFixedpointTypes
function to analytically determine fixed-point types for the solution of the real least-squares matrix equation - Compute Forgetting Factor Required for Streaming Input Data
Use
fixed.forgettingFactor
andfixed.forgettingFactorInverse
to compute forgetting factor. - Estimate Standard Deviation of Quantization Noise of Complex-Valued Signal
Use
fixed.complexQuantizationNoiseStandardDeviation
to estimate standard deviation of quantization noise. - Estimate Standard Deviation of Quantization Noise of Real-Valued Signal
Use
fixed.realQuantizationNoiseStandardDeviation
to estimate standard deviation of quantization noise.