Linear Algebra
DSP System Toolbox™ system linear algebra blocks enable you to work with matrices in Simulink®. For example, to solve a set of linear equations through Levinson-Durbin and Cholesky methods, use the Levinson-Durbin and Cholesky Solver blocks. These techniques are commonly used in applications such as the Yule-Walker AR problem and linear predictive coding. To factorize a square matrix into upper and lower components, use methods such as LDL factorization and the LU factorization. To invert matrices, use methods such as Cholesky factorization, LDL factorization, and LU factorization. For a summary of all the supported techniques and the corresponding blocks in DSP System Toolbox which implement the techniques, see Linear Algebra and Least Squares.
Blocks
Topics
- Linear Algebra and Least SquaresSolve systems of linear equations. 
- LDL Factorization of 3-by-3 Hermitian Positive Definite MatrixSimulink model example that shows how to use the LDL Factorization block. 
- Solve Matrix Equation Using Backward SubstitutionUse Backward Substitution block to solve a system of linear equations. Verify the solution using Matrix Multiply block. 
- Solve Matrix Equation Using Forward SubstitutionUse 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 BlockFind inverse of a square matrix using the LU Inverse block. 
- Solve Matrix Equation Using LU SolverUse LU Solver block to solve a matrix equation. Verify the solution using Matrix Multiply block. 
- Solve Matrix Equation Using Singular Value DecompositionUse SVD Solver block to solve a matrix equation. Verify the solution using Matrix Multiply block. 
- Solve Matrix Equation Using Cholesky SolverUse Cholesky Solver block to solve a matrix equation. Verify the solution using Matrix Multiply block. 
- Factorize Matrix Using LU Factorization BlockFactorize a matrix using the LU Factorization block.