Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Solve lower-triangular matrix equation

The `LowerTriangularSolver`

object solves
*LX* = *B* for *X* when
*L* is a square, lower-triangular matrix with the same number of rows as
*B*.

To solve *LX* = *B* for *X*:

Create the

`dsp.LowerTriangularSolver`

object and set its properties.Call the object with arguments, as if it were a function.

To learn more about how System objects work, see What Are System Objects? (MATLAB).

`lowtriang = dsp.LowerTriangularSolver`

`lowtriang = dsp.LowerTriangularSolver(Name,Value)`

returns a linear system solver, `lowtriang`

= dsp.LowerTriangularSolver`lowtriang`

, used to solve the linear
system *LX* = *B*, where *L* is a lower
(or unit-lower) triangular matrix.

returns a linear system solver, `lowtriang`

= dsp.LowerTriangularSolver(`Name,Value`

)`lowtriang`

, with each specified
property set to the specified value.

**For versions earlier than R2016b, use the step
function to run the System object™ algorithm. The arguments to
step are the object you created, followed by
the arguments shown in this section.**

**For example, y = step(obj,x) and y = obj(x) perform equivalent operations.**

`X = lowtriang(L,B)`

To use an object function, specify the
System
object as the first input argument. For
example, to release system resources of a System
object named `obj`

, use
this syntax:

release(obj)

This object implements the algorithm, inputs, and outputs described on the Forward Substitution block reference page. The object properties correspond to the block parameters.