Package: dsp
Solve uppertriangular matrix equation
The UpperTriangularSolver
object solves UX = B for X when U is
a square, uppertriangular matrix with the same number of rows as B.
To solve UX = B:
Define and set up your linear system solver. See Construction.
Call step
to solve the equation according
to the properties of dsp.UpperTriangularSolver
. The
behavior of step
is specific to each object in the
toolbox.
H = dsp.UpperTriangularSolver
returns
a linear system solver, H
, used to solve UX = B where U is
an upper (or unitupper) triangular matrix.
H = dsp.UpperTriangularSolver('
returns
a linear system solver, PropertyName
',PropertyValue
,...)H
, with each specified
property set to the specified value.

Replace diagonal elements of input with ones When you set this property to 

Indicate that diagonal of complex input is real When you set this property to 
clone  Create upper triangular solver object with same property values 
getNumInputs  Number of expected inputs to step method 
getNumOutputs  Number of outputs of step method 
isLocked  Locked status for input attributes and nontunable properties 
release  Allow property value and input characteristics changes 
step  Solve matrix equation for specified inputs 
Solve an uppertriangular matrix equation:
huptriang = dsp.UpperTriangularSolver; u = triu(rand(4, 4)); b = rand(4, 1); % Check that result is the solution to the linear % equations. x1 = inv(u)*b x = step(huptriang, u, b)
This object implements the algorithm, inputs, and outputs described on the Backward Substitution block reference page. The object properties correspond to the block parameters.