Main Content

Solve Matrix Equation Using Backward Substitution

Solve a matrix equation using the Backward Substitution block.

Open and run the model. The model solves the equation ${UX = B}$ using the Backward Substitution block. The block accepts $U$ 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 $UX$, as shown in following model. The output matrix $B$ in this model equals the input matrix $B$ in the previous model.

See Also

| | (Simulink) | (Simulink)

Related Topics