Simulink 中的定点矩阵运算
优化的基于 CORDIC 的定点矩阵求解器和矩阵分解模块,用于高效 HDL 代码
使用模块的 Fixed-Point Designer™ HDL Optimized 库来执行基于 CORDIC 的定点矩阵运算,并生成高效的 HDL 代码。这些模块对线性方程组的设计模式进行建模并执行核心矩阵运算(例如 QR 分解和奇异值分解),以便在 FPGA 上进行硬件高效的实现。有关为您的应用选择合适模块的帮助,请参阅Choose a Block for HDL-Optimized Fixed-Point Matrix Operations。使用包含的 Fixed-Point Designer 函数以解析方式确定线性系统求解器和矩阵分解模块的最佳定点数据类型。使用 HDL Coder™ 为包含这些模块的设计生成 HDL 代码。
有关这些算法的基于 MATLAB® 的实现,请参阅MATLAB 中的定点矩阵运算。有关 MATLAB 和 Simulink® 中数学运算的基于 CORDIC 和其他嵌入式高效实现,请参阅MATLAB 和 Simulink 中的定点数学运算。
模块
函数
工具
数据类型代理 | Recommends fixed-point data types for Fixed-Point Designer blocks (自 R2025a 起) |
主题
通用
- Choose a Block for HDL-Optimized Fixed-Point Matrix Operations
How to choose a block from the Fixed-Point Designer HDL Support library.
线性系统求解器:求解 AX = B
- Implement Hardware-Efficient Real Burst Matrix Solve Using QR Decomposition
How to use the Real Burst Matrix Solve Using QR Decomposition block. - Implement Hardware-Efficient Real Burst Matrix Solve Using QR Decomposition with Tikhonov Regularization
This example shows how to use the Real Burst Matrix Solve Using QR Decomposition block to solve the regularized least-squares matrix equation - Implement Hardware-Efficient Complex Burst Matrix Solve Using QR Decomposition
How to use the Complex Burst Matrix Solve Using QR Decomposition block. - Implement Hardware-Efficient Complex Burst Matrix Solve Using QR Decomposition with Tikhonov Regularization
This example shows how to use the Complex Burst Matrix Solve Using QR Decomposition block to solve the regularized least-squares matrix equation - Implement Hardware-Efficient Real Partial-Systolic Matrix Solve Using QR Decomposition
How to use the Real Partial-Systolic Matrix Solve Using QR Decomposition block. - Implement Hardware-Efficient Real Partial-Systolic Matrix Solve Using QR Decomposition with Diagonal Loading
How to use the Real Partial-Systolic Matrix Solve Using QR Decomposition Block with diagonal loading. - Implement Hardware-Efficient Real Partial-Systolic Matrix Solve Using QR Decomposition with Tikhonov Regularization
This example shows how to use the Real Partial-Systolic Matrix Solve Using QR Decomposition block to solve the regularized least-squares matrix equation - Implement Hardware-Efficient Complex Partial-Systolic Matrix Solve Using QR Decomposition
How to use the Complex Partial-Systolic Matrix Solve Using QR Decomposition block. - Implement Hardware-Efficient Complex Partial-Systolic Matrix Solve Using QR Decomposition with Diagonal Loading
How to use the Complex Partial-Systolic Matrix Solve Using QR Decomposition Block with diagonal loading. - Implement Hardware-Efficient Complex Partial-Systolic Matrix Solve Using QR Decomposition with Tikhonov Regularization
This example shows how to use the Complex Partial-Systolic Matrix Solve Using QR Decomposition block to solve the regularized least-squares matrix equation - Use Hardware-Efficient Algorithm to Solve Systems of Complex-Valued Linear Equations
Solve a system of complex-valued linear equations using hardware-efficient code.
线性系统求解器:求解 A'AX = B
- Implement Hardware-Efficient Real Burst Matrix Solve Using Q-less QR Decomposition
How to use the Real Burst Matrix Solve Using Q-less QR Decomposition block. - Implement Hardware-Efficient Real Burst Matrix Solve Using Q-less QR Decomposition with Tikhonov Regularization
This example shows how to use the Real Burst Matrix Solve Using QR Decomposition block to solve the regularized least-squares matrix equation - Implement Hardware-Efficient Complex Burst Matrix Solve Using Q-less QR Decomposition
How to use the Complex Burst Matrix Solve Using Q-less QR Decomposition block. - Implement Hardware-Efficient Complex Burst Matrix Solve Using Q-less QR Decomposition with Tikhonov Regularization
This example shows how to use the Complex Burst Matrix Solve Using QR Decomposition block to solve the regularized least-squares matrix equation - Implement Hardware-Efficient Real Burst Asynchronous Matrix Solve Using Q-less QR Decomposition
This example shows how to implement a hardware-efficient solution to the real-valued matrix equation A'AX=B using the Real Burst Asynchronous Matrix Solve Using Q-less QR Decomposition block. - Implement Hardware-Efficient Complex Burst Asynchronous Matrix Solve Using Q-less QR Decomposition
This example shows how to implement a hardware-efficient solution to the complex-valued matrix equation A'AX=B using the Complex Burst Asynchronous Matrix Solve Using Q-less QR Decomposition block. - Implement Hardware-Efficient Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition
How to use the Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition block. - Implement Hardware-Efficient Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Tikhonov Regularization
This example shows how to use the Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition block to solve the regularized least-squares matrix equation - Implement Hardware-Efficient Complex Partial-Systolic Matrix Solve Using Q-less QR Decomposition
How to use the Complex Partial-Systolic Matrix Solve Using Q-less QR Decomposition block. - Implement Hardware-Efficient Complex Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Tikhonov Regularization
This example shows how to use the Complex Partial-Systolic Matrix Solve Using QR Decomposition block to solve the regularized least-squares matrix equation
线性系统求解器:求解使用无限 tall A 矩阵的 A'AX = B
- Implement Hardware-Efficient Real Burst Matrix Solve Using Q-less QR Decomposition with Forgetting Factor
This example shows how to use the hardware-efficient Real Burst Matrix Solve Using Q-less QR Decomposition with Forgetting Factor block. - Implement Hardware-Efficient Complex Burst Matrix Solve Using Q-less QR Decomposition with Forgetting Factor
This example shows how to use the hardware-efficient Complex Burst Matrix Solve Using Q-less QR Decomposition with Forgetting Factor block. - Implement Hardware-Efficient Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting Factor
How to use the Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting Factor block. - Implement Hardware-Efficient Complex Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting Factor
How to use the Complex Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting Factor block.
矩阵分解:QR 分解
- Implement Hardware-Efficient Real Burst QR Decomposition
How to use the Real Burst QR Decomposition block. - Implement Hardware-Efficient Complex Burst QR Decomposition
How to use the Complex Burst QR Decomposition block. - Implement Hardware-Efficient Real Partial-Systolic QR Decomposition
How to use the Real Partial-Systolic QR Decomposition block. - Implement Hardware-Efficient Complex Partial-Systolic QR Decomposition
How to use the Complex Partial-Systolic QR Decomposition block. - Implement Hardware-Efficient QR Decomposition Using CORDIC in a Systolic Array
Implement Hardware-Efficient QR Decomposition Using CORDIC in a Systolic Array.
矩阵分解:Q-less QR 分解
- Implement Hardware-Efficient Real Burst Q-less QR Decomposition
How to use the Real Burst Q-less QR Decomposition block. - Implement Hardware-Efficient Complex Burst Q-less QR Decomposition
How to use the Complex Burst Q-less QR Decomposition block. - Implement Hardware-Efficient Real Partial-Systolic Q-less QR Decomposition
How to use the Real Partial-Systolic Q-less QR Decomposition block. - Implement Hardware-Efficient Complex Partial-Systolic Q-less QR Decomposition
How to use the Complex Partial-Systolic Q-less QR Decomposition block.
矩阵分解:使用遗忘因子的 Q-less QR 分解
- Implement Hardware-Efficient Real Burst Q-less QR with Forgetting Factor
This example shows how to use the hardware-efficient Real Burst Q-less QR Decomposition with Forgetting Factor Whole R Output block. - Implement Hardware-Efficient Complex Burst Q-less QR with Forgetting Factor
This example shows how to use the hardware-efficient Complex Burst Q-less QR Decomposition with Forgetting Factor Whole R Output block. - Implement Hardware-Efficient Real Partial-Systolic Q-less QR with Forgetting Factor
How to use the Real Partial-Systolic Q-less QR Decomposition with Forgetting Factor block. - Implement Hardware-Efficient Complex Partial-Systolic Q-less QR with Forgetting Factor
How to use the Complex Partial-Systolic Q-less QR Decomposition with Forgetting Factor block.
矩阵分解:奇异值分解
- Implement HDL Optimized SVD in Feedforward Fashion Without Backpressure
This example shows how to implement a hardware-efficient singular value decomposition (SVD) using the Square Jacobi SVD HDL Optimized block in a feedforward fashion without backpressure. - Implement HDL Optimized SVD with Backpressure Signal and HDL FIFO Block
This example shows how to implement hardware-efficient singular value decomposition (SVD) using the Square Jacobi SVD HDL Optimized block with backpressure control and an HDL FIFO block. - Implement HDL Optimized SVD for Non-Square Matrix with Scalar Input and Simplified AXI4 Protocol
This example shows how to use the Non-Square Jacobi SVD HDL Optimized block to compute the singular value decomposition (SVD) of non-square matrices. - Compute SVD of Non-Square Matrices Using Square Jacobi SVD HDL Optimized Block by Forming Covariance Matrices
This example shows how to use the Square Jacobi SVD HDL Optimized block to compute the singular value decomposition (SVD) of non-square matrices by forming covariance matrices.
以解析方式确定线性系统求解器和矩阵分解的定点数据类型
- 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
Usefixed.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 thefixed.realQRMatrixSolveFixedpointTypes
function to analytically determine fixed-point types for the solution of the real 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
Usefixed.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 thefixed.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
Usefixed.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 thefixed.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 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
Usefixed.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 thefixed.complexQlessQRMatrixSolveFixedpointTypes
function to analytically determine fixed-point types for the solution of the complex least-squares matrix equation - Determine Fixed-Point Types for QR Decomposition
Usefixed.qrFixedpointTypes
to determine fixed-point types for computation of QR decomposition. - Determine Fixed-Point Types for Q-less QR Decomposition
Usefixed.qlessqrFixedpointTypes
to determine fixed-point types for computation of Q-less QR decomposition. - Estimate Standard Deviation of Quantization Noise of Real-Valued Signal
Usefixed.realQuantizationNoiseStandardDeviation
to estimate standard deviation of quantization noise. - Estimate Standard Deviation of Quantization Noise of Complex-Valued Signal
Usefixed.complexQuantizationNoiseStandardDeviation
to estimate standard deviation of quantization noise. - Compute Forgetting Factor Required for Streaming Input Data
Usefixed.forgettingFactor
andfixed.forgettingFactorInverse
to compute forgetting factor.