Main Content

Solve Matrix Equation Using Backward Substitution

Solve a matrix equation using the Backward Substitution block.

Open and run the backwardsubstitution_model.slx 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 backwardsubstitution_verify.slx model. The output matrix $B$ in this model equals the input matrix $B$ in the previous model.

See Also

| | (Simulink) | (Simulink)

Related Topics