Contenu principal

Opérations matricielles en virgule fixe dans Simulink

Solveurs de matrices et blocs de décomposition de matrices en virgule fixe optimisés et basés sur CORDIC pour un code HDL efficace

Utilisez la bibliothèque de blocs Fixed-Point Designer™ optimisée HDL pour effectuer des opérations matricielles en virgule fixe basées sur CORDIC et générer un code HDL efficace. Ces blocs modélisent des design patterns pour les systèmes d’équations linéaires et effectuent les principales opérations matricielles, comme les décompositions QR et en valeurs singulières, pour une implémentation hardware efficace sur des FPGA. Pour choisir un bloc approprié pour votre application, consultez Choose a Block for HDL-Optimized Fixed-Point Matrix Operations. Utilisez les fonctions Fixed-Point Designer incluses pour déterminer de manière analytique les types de données à virgule fixe optimaux, pour les blocs de solveur de système linéaire et de factorisation de matrice. Générez du code HDL pour les designs qui intègrent ces blocs en utilisant HDL Coder™.

Pour les implémentations basées sur MATLAB® de ces algorithmes, consultez Opérations matricielles en virgule fixe dans MATLAB. Pour les implémentations basées sur CORDIC ou autre d’opérations mathématiques et optimisées pour les dispositifs embarqués dans MATLAB et Simulink®, consultez Opérations mathématiques en virgule fixe dans MATLAB et Simulink.

Blocs

développer tout

Résoudre AX = B

Real Burst Matrix Solve Using QR DecompositionCompute the value of x in the equation Ax = B for real-valued matrices using QR decomposition
Complex Burst Matrix Solve Using QR DecompositionCompute the value of x in the equation Ax = B for complex-valued matrices using QR decomposition
Real Partial-Systolic Matrix Solve Using QR DecompositionCompute value of x in the equation Ax = B for real-valued matrices using QR decomposition
Complex Partial-Systolic Matrix Solve Using QR DecompositionCompute value of x in the equation Ax = B for complex-valued matrices using QR decomposition
Systolic Matrix Solve Using QR DecompositionCompute value of X in the equation AX = B using QR decomposition (depuis R2024a)

Résoudre A'AX = B

Real Burst Matrix Solve Using Q-less QR DecompositionCompute the value of X in the equation A'AX = B for real-valued matrices using Q-less QR decomposition
Complex Burst Matrix Solve Using Q-less QR DecompositionCompute the value of X in the equation A'AX = B for complex-valued matrices using Q-less QR decomposition
Real Burst Asynchronous Matrix Solve Using Q-less QR DecompositionCompute the value of X in the equation A'AX = B for real-valued matrices using asynchronous Q-less QR decomposition (depuis R2022b)
Complex Burst Asynchronous Matrix Solve Using Q-less QR DecompositionCompute the value of X in the equation A'AX = B for complex-valued matrices using asynchronous Q-less QR decomposition (depuis R2022b)
Real Partial-Systolic Matrix Solve Using Q-less QR DecompositionCompute value of X in the equation A'AX = B for real-valued matrices using Q-less QR decomposition
Complex Partial-Systolic Matrix Solve Using Q-less QR DecompositionCompute the value of X in the equation A'AX = B for complex-valued matrices using Q-less QR decomposition

Résoudre A'AX = B avec une matrice A infiniment grande

Real Burst Matrix Solve Using Q-less QR Decomposition with Forgetting FactorCompute the value of X in the equation A'AX = B for real-valued matrices with infinite number of rows using asynchronous Q-less QR decomposition (depuis R2022b)
Complex Burst Matrix Solve Using Q-less QR Decomposition with Forgetting FactorCompute the value of X in the equation A'AX = B for complex-valued matrices with infinite number of rows using asynchronous Q-less QR decomposition (depuis R2022b)
Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting FactorCompute value of X in the equation A'AX = B for real-valued matrices with infinite number of rows using Q-less QR decomposition
Complex Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting FactorCompute the value of X in the equation A'AX = B for complex-valued matrices with infinite number of rows using Q-less QR decomposition

Décomposition QR

Real Burst QR DecompositionQR decomposition for real-valued matrices
Complex Burst QR DecompositionQR decomposition for complex-valued matrices
Real Partial-Systolic QR DecompositionQR decomposition for real-valued matrices
Complex Partial-Systolic QR DecompositionQR decomposition for complex-valued matrices
Systolic QR DecompositionQR decomposition for matrices (depuis R2024a)

Décomposition QR sans Q

Real Burst Q-less QR DecompositionQ-less QR decomposition for real-valued matrices
Complex Burst Q-less QR DecompositionQ-less QR decomposition for complex-valued matrices
Real Burst Q-less QR Decomposition Whole R OutputQ-less QR decomposition for real-valued matrices (depuis R2022b)
Complex Burst Q-less QR Decomposition Whole R OutputQ-less QR decomposition for complex-valued matrices (depuis R2022b)
Real Partial-Systolic Q-less QR DecompositionQ-less QR decomposition for real-valued matrices
Complex Partial-Systolic Q-less QR DecompositionQ-less QR decomposition for complex-valued matrices

Décomposition QR sans QR avec facteur d'oubli

Real Burst Q-less QR Decomposition with Forgetting Factor Whole R OutputQ-less QR decomposition for real-valued matrices with infinite number of rows (depuis R2022b)
Complex Burst Q-less QR Decomposition with Forgetting Factor Whole R OutputQ-less QR decomposition for complex-valued matrices with infinite number of rows (depuis R2022b)
Real Partial-Systolic Q-less QR Decomposition with Forgetting FactorQ-less QR decomposition for real-valued matrices with infinite number of rows
Complex Partial-Systolic Q-less QR Decomposition with Forgetting FactorQ-less QR decomposition for complex-valued matrices with infinite number of rows

Décomposition en valeurs singulières

Square Jacobi SVD HDL OptimizedFixed-point singular value decomposition (depuis R2023a)
Non-Square Jacobi SVD HDL OptimizedFixed-point singular value decomposition (depuis R2023b)

Fonctions

développer tout

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 (depuis 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 (depuis R2021b)
fixed.realQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued AX=B using QR decomposition (depuis R2021b)
fixed.complexQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued AX=B using QR decomposition (depuis R2021b)
fixed.realQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of real-valued A'AX=B using QR decomposition (depuis R2021b)
fixed.complexQlessQRMatrixSolveFixedpointTypesDetermine fixed-point types for matrix solution of complex-valued A'AX=B using QR decomposition (depuis R2021b)
fixed.realSingularValueLowerBoundEstimate lower bound for smallest singular value of real-valued matrix (depuis R2021b)
fixed.complexSingularValueLowerBoundEstimate lower bound for smallest singular value of complex-valued matrix (depuis R2021b)
fixed.singularValueUpperBoundUpper bound of largest singular value of matrix (depuis R2022b)
fixed.realConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of real-valued matrix (depuis R2022b)
fixed.complexConditionNumberUpperBoundEstimate of upper bound for 2-norm condition number of complex-valued matrix (depuis R2022b)
fixed.forgettingFactorCompute forgetting factor required for streaming input data (depuis R2021b)
fixed.forgettingFactorInverseCompute the inverse of the forgetting factor required for streaming input data (depuis R2021b)
fixed.realQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of real-valued signal (depuis R2021b)
fixed.complexQuantizationNoiseStandardDeviationEstimate standard deviation of quantization noise of complex-valued signal (depuis R2021b)
embblk.latency.systolicQRBlockTimingCompute throughput and latency of Systolic QR Decomposition block (depuis R2024a)
embblk.latency.systolicQRMatrixSolverBlockTimingCompute throughput and latency of Systolic Matrix Solve Using QR Decomposition block (depuis R2024a)
embblk.latency.cordicSqrtHDLOptimizedLatencyCompute latency and total number of iterations of CORDIC Square Root HDL Optimized block (depuis R2024a)

Outils

Data Type AgentRecommends fixed-point data types for Fixed-Point Designer blocks (depuis R2025a)

Rubriques

Généralités

Solveurs de systèmes linéaires : Résoudre AX = B

Solveurs de systèmes linéaires : Résoudre A'AX = B

Solveurs de systèmes linéaires : Résoudre A'AX = B avec une matrice A infiniment grande

Factorisations matricielles : Décomposition QR

Factorisations matricielles : Décomposition QR sans Q

Factorisations matricielles : Décomposition QR sans QR avec facteur d'oubli

Factorisations matricielles : Décomposition en valeurs singulières

Détermination analytique des types de données à virgule fixe pour les solveurs de systèmes linéaires et les factorisations de matrices

Sélection d՚exemples