Hauptinhalt

Festkomma-Matrix-Operationen in Simulink

Optimierte CORDIC-basierte Festkomma-Matrixlöser und Matrixzerlegungsblöcke für effizienten HDL-Code

Verwenden Sie die HDL-optimierte Blockbibliothek in Fixed-Point Designer™, um CORDIC-basierte Festkomma-Matrixoperationen durchzuführen und effizienten HDL-Code zu generieren. Diese Blöcke modellieren Designmuster für lineare Gleichungssysteme und führen Kernmatrixoperationen wie QR-Zerlegung und Singulärwertzerlegung für eine hardwaresparende Implementierung auf FPGAs durch. Hilfe bei der Auswahl eines geeigneten Blocks für Ihre Anwendung finden Sie unter Choose a Block for HDL-Optimized Fixed-Point Matrix Operations. Verwenden Sie die enthaltenen Fixed-Point Designer-Funktionen, um analytisch optimale Festkomma-Datentypen für den linearen Systemlöser und die Matrixfaktorisierungsblöcke zu bestimmen. Mithilfe von HDL Coder™ können Sie HDL-Code für Entwürfe generieren, die diese Blöcke umfassen.

Für MATLAB®-basierte Implementierungen dieser Algorithmen siehe Festkomma-Matrix-Operationen in MATLAB. Für CORDIC-basierte und andere eingebettete effiziente Implementierungen von mathematischen Operationen in MATLAB und Simulink® siehe Festkomma-Rechenoperationen in MATLAB und Simulink.

Blöcke

alle erweitern

Solve 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 (Seit R2024a)

Solve 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 (Seit 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 (Seit 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

Solve A'AX = B mit unendlich hoher A-Matrix

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 (Seit 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 (Seit 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

QR-Zerlegung

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 (Seit R2024a)

Q-lose QR-Zerlegung

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 (Seit R2022b)
Complex Burst Q-less QR Decomposition Whole R OutputQ-less QR decomposition for complex-valued matrices (Seit 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

Q-lose QR-Zerlegung mit Vergessensfaktor

Real Burst Q-less QR Decomposition with Forgetting Factor Whole R OutputQ-less QR decomposition for real-valued matrices with infinite number of rows (Seit 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 (Seit 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

Einzelwert-Zerlegung

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

Funktionen

alle erweitern

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

Tools

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

Themen

Allgemein

Solver für lineare Systeme: Solve AX = B

Solver für lineare Systeme: Solve A'AX = B

Solver für lineare Systeme: Solve A'AX = B mit unendlich hoher A-Matrix

Matrix-Faktorisierungen: QR-Zerlegung

Matrix-Faktorisierungen: Q-lose QR-Zerlegung

Matrix-Faktorisierungen: Q-lose QR-Zerlegung mit Vergessensfaktor

Matrix-Faktorisierungen: Einzelwert-Zerlegung

Analytisches Ermitteln von Festkomma-Datentypen für Solver für lineare Systeme und Matrix-Faktorisierungen

Enthaltene Beispiele