주요 콘텐츠

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

Simulink에서의 고정소수점 행렬 연산

효율적인 HDL 코드를 위한 최적화된 CORDIC 기반 고정소수점 행렬 솔버 및 행렬 분해 블록

HDL에 최적화된 Fixed-Point Designer™ 블록 라이브러리를 사용하여 CORDIC 기반 고정소수점 행렬 연산을 수행하고 효율적인 HDL 코드를 생성합니다. 이러한 블록은 FPGA에서의 하드웨어 효율적인 구현을 위해 선형 연립방정식의 설계 패턴을 모델링하고 핵심 행렬 연산(예: QR 분해 및 특이값 분해)을 수행합니다. 해당 응용 분야에 적합한 블록을 선택하는 데 도움이 필요하면 Choose a Block for HDL-Optimized Fixed-Point Matrix Operations 항목을 참조하십시오. 포함된 Fixed-Point Designer 함수를 사용하여 선형 시스템 솔버와 행렬 분해 블록을 위한 최적의 고정소수점 데이터형을 해석적으로 결정합니다. 이러한 블록을 통합하는 설계를 위한 HDL 코드를 HDL Coder™를 사용하여 생성할 수 있습니다.

이러한 알고리즘의 MATLAB® 기반 구현은 MATLAB의 고정소수점 행렬 연산 항목을 참조하십시오. MATLAB 및 Simulink®에서 수학 연산에 대한 CORDIC 기반 구현과 다른 임베디드 효율적인 구현은 MATLAB 및 Simulink에서의 고정소수점 수학 연산 항목을 참조하십시오.

블록

모두 확장

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 (R2024a 이후)

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

무한한 tall형 A 행렬의 A'AX = B의 해 구하기

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 (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 (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 분해

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 (R2024a 이후)

Q-less QR 분해

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

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

특이값 분해

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

함수

모두 확장

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

데이터형 에이전트Recommends fixed-point data types for Fixed-Point Designer blocks (R2025a 이후)

도움말 항목

일반

선형 시스템 솔버: AX = B의 해 구하기

선형 시스템 솔버: A'AX = B의 해 구하기

선형 시스템 솔버: 무한한 tall형 A 행렬의 A'AX = B의 해 구하기

행렬 분해: QR 분해

행렬 분해: Q-less QR 분해

행렬 분해: 망각 인자가 적용된 Q-less QR 분해

행렬 분해: 특이값 분해

선형 시스템 솔버와 행렬 분해를 위해 해석적으로 고정소수점 데이터형 확인

추천 예제