Simulink 中的定点矩阵运算
为实现高效的 HDL 代码而进行了优化的定点数学和矩阵运算模块
使用 Fixed-Point Designer™ 模块库执行定点数学运算。
使用模块的 Fixed-Point Designer HDL Optimized 库来执行定点数学和矩阵运算,并生成高效的 HDL 代码。这些模块为线性方程组和核心矩阵运算(例如 QR 分解)进行设计模式建模,以便在 FPGA 上进行硬件高效的实现。使用 HDL Coder™ 为包含这些模块的设计生成 HDL 代码。
模块
函数
主题
数学运算
- Implement Hardware-Efficient Hyperbolic Tangent
Implement a hardware-efficient hyperbolic tangent. - How to Use HDL Optimized Normalized Reciprocal
This example shows how and when to use thenormalizedReciprocal
function and the Normalized Reciprocal HDL Optimized block to compute the normalized reciprocal of an input. - Implement Hardware-Efficient Real Divide HDL Optimized
How to use the Real Divide HDL Optimized block. - Implement Hardware-Efficient Complex Divide HDL Optimized
How to use the Complex Divide HDL Optimized block. - Implement HDL Optimized Modulo By Constant
How to use the Modulo by Constant HDL Optimized block.
通用
- 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
线性方程组求解器:求解 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.
矩阵分解: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.
以解析方式确定线性方程组求解器和矩阵分解的定点数据类型
- 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.