dsp.LUFactor
(Removed) Factor square matrix into lower and upper triangular matrices
dsp.LUFactor
has been removed. Use lu
instead. For more information, see Compatibility Considerations.
Description
The LUFactor
object factors a square matrix into
lower and upper triangular matrices.
To factor a square matrix into lower and upper triangular matrices:
Define and set up your System object™. See Construction.
Call
step
to factor the square matrix according to the properties ofdsp.LUFactor
. The behavior ofstep
is specific to each object in the toolbox.
Note
Starting in R2016b, instead of using the step
method to perform the operation defined by the System object, you can call the object with arguments, as if it were a function. For
example, y = step(obj,x)
and y = obj(x)
perform equivalent operations.
Construction
lu = dsp.LUFactor
returns an LUFactor
System object, lu
, which factors a row permutation of
a square input matrix A
as , where L
is the unit-lower
triangular matrix, and U
is the upper triangular
matrix. The row-pivoted matrix Ap contains the
rows of A permuted as indicated by the permutation index vector
P. The equivalent MATLAB® code is Ap = A(P,:)
.
lu = dsp.LUFactor('
returns an PropertyName
',PropertyValue
,...)LUFactor
object, lu
, with each specified property set to the specified value.
Properties
|
Set to Set this property to |
Methods
step | Decompose matrix into lower and upper triangular matrices |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
Examples
Algorithms
This object implements the algorithm, inputs, and outputs described on the LU Factorization block reference page. The object properties correspond to the block parameters.