Main Content
Solve Matrix Equation Using LU Solver
Solve a matrix equation using the LU Solver block.
Open and run the lusolver_model.slx
model. The model solves the equation AX = B using the LU Solver block. The block uses the A and B matrices as inputs and outputs the solution matrix X.
You can verify the solution by using the Matrix Multiply block to perform the multiplication AX, as shown in the lusolver_verify.slx
model. The output matrix B in this model equals the input matrix B in the previous model.
See Also
Constant | LU Solver | Matrix Multiply (Simulink) | Display (Simulink)