LU Solver
Solve AX = B when A is a square matrix
Libraries:
DSP System Toolbox /
Math Functions /
Matrices and Linear Algebra /
Linear System Solvers
Description
The LU Solver block solves the linear system AX = B by applying LU factorization, where:
A is an M-by-M square matrix input through the A port.
B is an M-by-N matrix input through the B port.
X is the M-by-N output matrix and is the unique solution to the equations.
Examples
Ports
Input
Output
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Algorithms
The LU algorithm factors a row-permuted variant (Ap) of the square input matrix A as
where L is a lower triangular square matrix with unity diagonal elements, and U is an upper triangular square matrix.
The matrix factors are substituted for Ap in
where Bp is the row-permuted variant of B, and the resulting equation
is solved for X by substituting Y = UX, and solving two triangular systems.
Extended Capabilities
Version History
Introduced before R2006a
See Also
Autocorrelation LPC | Cholesky Solver | LDL Solver | Levinson-Durbin | LU Factorization | LU Inverse | QR Solver