Contenido principal

La traducción de esta página aún no se ha actualizado a la versión más reciente. Haga clic aquí para ver la última versión en inglés.

Operaciones con matrices de punto fijo en Simulink

R2024b
Bloques de operaciones matemáticas y con matrices de punto fijo optimizados para un código HDL eficiente

Utilice la biblioteca de bloques de Fixed-Point Designer™ para realizar operaciones matemáticas de punto fijo.

Utilice la biblioteca HDL Optimized de Fixed-Point Designer para realizar operaciones matemáticas y con matrices en punto fijo y generar código HDL eficiente. Estos bloques modelan patrones de diseño para sistemas de ecuaciones lineales y operaciones con matrices básicas, como la descomposición QR, para lograr una implementación eficiente del hardware en FPGA. Puede generar código HDL para diseños que incorporen estos bloques utilizando HDL Coder™.

Bloques

expandir todo

Screenshot of Euler to NED Transformation HDL Optimized blockEuler to NED Transformation HDL OptimizedComputes Euler to North-East-Down transformation using pipelined or burst architecture and generates optimized HDL code (Desde R2022b)

División

Real Divide HDL Optimized blockReal Divide HDL OptimizedDivide one real input by another using CORDIC algorithm and generate optimized HDL code
Complex Divide HDL Optimized blockComplex Divide HDL OptimizedDivide one input by another using CORDIC algorithm and generate optimized HDL code
Divide by Constant HDL Optimized blockDivide by Constant HDL OptimizedDivide input by a constant and round to integer and generate optimized HDL code
Divide by Constant and Round blockDivide by Constant and RoundDivide input by a constant and round to integer
CORDIC Sigmoid HDL Optimized blockCORDIC Sigmoid HDL OptimizedCompute CORDIC-based sigmoid activation and generate optimized HDL code (Desde R2024a)
CORDIC Square Root HDL Optimized blockCORDIC Square Root HDL OptimizedCORDIC-based approximation of square root (Desde R2024a)

Módulo

Modulo by Constant HDL Optimized blockModulo by Constant HDL OptimizedPerform mod operation with a constant denominator and generate optimized HDL code
Modulo by Constant blockModulo by ConstantPerform modulo operation with a constant denominator

Recíproco

Normalized Reciprocal HDL Optimized blockNormalized Reciprocal HDL OptimizedComputes normalized reciprocal using CORDIC algorithm and generates optimized HDL code
Real Reciprocal HDL Optimized blockReal Reciprocal HDL OptimizedCompute reciprocal and generate optimized HDL code

Trigonométrica

Hyperbolic Tangent HDL Optimized blockHyperbolic Tangent HDL OptimizedCalcular la tangente hiperbólica basada en CORDIC y generar código HDL optimizado

Resolver AX = B

Real Burst Matrix Solve Using QR Decomposition blockReal 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 Decomposition blockComplex 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 Decomposition blockReal 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 Decomposition blockComplex 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 Decomposition blockSystolic Matrix Solve Using QR DecompositionCompute value of X in the equation AX = B using QR decomposition (Desde R2024a)

Resolver A'AX = B

Real Burst Matrix Solve Using Q-less QR Decomposition blockReal 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 Decomposition blockComplex 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
Screenshot of Real Burst Asynchronous Matrix Solve Using Q-less QR Decomposition blockReal 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 (Desde R2022b)
Screenshot of Complex Burst Asynchronous Matrix Solve Using Q-less QR Decomposition blockComplex 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 (Desde R2022b)
Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition blockReal 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 Decomposition blockComplex 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

Resolver A'AX = B con una matriz A infinitamente alta

Screenshot of Real Burst Matrix Solve Using Q-less QR Decomposition with Forgetting Factor blockReal 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 (Desde R2022b)
Screenshot of Complex Burst Matrix Solve Using Q-less QR Decomposition with Forgetting Factor blockComplex 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 (Desde R2022b)
Real Partial-Systolic Matrix Solve Using Q-less QR Decomposition with Forgetting Factor blockReal 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 Factor blockComplex 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

Descomposición QR

Real Burst QR Decomposition blockReal Burst QR DecompositionQR decomposition for real-valued matrices
Complex Burst QR Decomposition blockComplex Burst QR DecompositionQR decomposition for complex-valued matrices
Real Partial Systolic QR Decomposition blockReal Partial-Systolic QR DecompositionQR decomposition for real-valued matrices
Complex Partial-Systolic QR Decomposition blockComplex Partial-Systolic QR DecompositionQR decomposition for complex-valued matrices
Systolic QR Decomposition blockSystolic QR DecompositionQR decomposition for matrices (Desde R2024a)

Descomposición QR sin Q

Real Burst Q-less QR Decomposition blockReal Burst Q-less QR DecompositionQ-less QR decomposition for real-valued matrices
Complex Burst Q-less QR Decomposition blockComplex Burst Q-less QR DecompositionQ-less QR decomposition for complex-valued matrices
Screenshot of Real Burst Q-less QR Decomposition Whole R Output blockReal Burst Q-less QR Decomposition Whole R OutputQ-less QR decomposition for real-valued matrices (Desde R2022b)
Screenshot of Complex Burst Q-less QR Decomposition Whole R Output blockComplex Burst Q-less QR Decomposition Whole R OutputQ-less QR decomposition for complex-valued matrices (Desde R2022b)
Real Partial-Systolic Q-less QR Decomposition blockReal Partial-Systolic Q-less QR DecompositionQ-less QR decomposition for real-valued matrices
Complex Partial-Systolic Q-less QR Decomposition blockComplex Partial-Systolic Q-less QR DecompositionQ-less QR decomposition for complex-valued matrices

Descomposición QR sin Q con factor de olvido

Screenshot of Real Burst Q-less QR Decomposition with Forgetting Factor Whole R OutputReal Burst Q-less QR Decomposition with Forgetting Factor Whole R OutputQ-less QR decomposition for real-valued matrices with infinite number of rows (Desde R2022b)
Screenshot of Complex Burst Q-less QR Decomposition with Forgetting Factor Whole R OutputComplex Burst Q-less QR Decomposition with Forgetting Factor Whole R OutputQ-less QR decomposition for complex-valued matrices with infinite number of rows (Desde R2022b)
Real Partial Systolic Q-less QR Decomposition with Forgetting Factor blockReal 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 Factor blockComplex Partial-Systolic Q-less QR Decomposition with Forgetting FactorQ-less QR decomposition for complex-valued matrices with infinite number of rows

Descomposición en valores singulares

Image of Square Jacobi SVD HDL Optimized block.Square Jacobi SVD HDL OptimizedFixed-point singular value decomposition (Desde R2023a)
Image of Non-Square Jacobi SVD HDL Optimized block.Non-Square Jacobi SVD HDL OptimizedFixed-point singular value decomposition (Desde R2023b)

Funciones

expandir todo

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

Temas

Operaciones matemáticas

General

Solvers de sistemas lineales: Resolver AX = B

Solvers de sistemas lineales: Resolver A'AX = B

Solvers de sistemas lineales: Resolver A'AX = B con una matriz A infinitamente alta

Factorizaciones de matrices: Descomposición QR

Factorizaciones de matrices: Descomposición QR sin Q

Factorizaciones de matrices: Descomposición QR sin Q con factor de olvido

Factorizaciones de matrices: Descomposición en valores singulares

Determinar analíticamente tipos de datos de punto fijo para solvers de sistemas lineales y factorizaciones de matrices

Ejemplos destacados