线性代数
DSP System Toolbox™ 系统线性代数模块使您能够在 Simulink® 中处理矩阵。例如,要通过莱文森-杜宾和乔列斯基方法求解一组线性方程,请使用 Levinson-Durbin 和 Cholesky Solver 模块。这些方法通常用于尤尔-沃克 AR 问题和线性预测编码等应用中。要将一个方阵分解为上三角和下三角部成分,请使用 LDL 分解和 LU 分解等方法。要对矩阵求逆,请使用乔列斯基分解、LDL 分解和 LU 分解等方法。有关所有支持的方法和 DSP System Toolbox 中实现这些方法的对应模块的摘要,请参阅Linear Algebra and Least Squares。
模块
主题
- Linear Algebra and Least Squares
Solve systems of linear equations.
- LDL Factorization of 3-by-3 Hermitian Positive Definite Matrix
Simulink model example that shows how to use the LDL Factorization block.
- Solve Matrix Equation Using Backward Substitution
Use Backward Substitution block to solve a system of linear equations. Verify the solution using Matrix Multiply block.
- Solve Matrix Equation Using Forward Substitution
Use Forward Substitution block to solve a system of linear equations. Verify the solution using Matrix Multiply block.
- Find Inverse of Matrix Using the LU Inverse Block
Find inverse of a square matrix using the LU Inverse block.
- Solve Matrix Equation Using LU Solver
Use LU Solver block to solve a matrix equation. Verify the solution using Matrix Multiply block.
- Solve Matrix Equation Using Singular Value Decomposition
Use SVD Solver block to solve a matrix equation. Verify the solution using Matrix Multiply block.
- Solve Matrix Equation Using Cholesky Solver
Use Cholesky Solver block to solve a matrix equation. Verify the solution using Matrix Multiply block.
- Factorize Matrix Using LU Factorization Block
Factorize a matrix using the LU Factorization block.