| DSP Blockset | ![]() |
Extract the lower or upper triangle from an input matrix.
Library
Math Functions / Matrices and Linear Algebra / Matrix Operations
Description
The Extract Triangular Matrix block creates a triangular matrix output from the upper or lower triangular elements of an M-by-N input matrix. A length-M 1-D vector input is treated as an M-by-1 matrix.
The Extract parameter selects between the two components of the input:
The output has the same frame status as the input.
Example
The example below shows the extraction of upper and lower triangles from a 5-by-3 input matrix.
Dialog Box
See Also
| Autocorrelation LPC |
DSP Blockset |
| Cholesky Factorization |
DSP Blockset |
| Constant Diagonal Matrix |
DSP Blockset |
| Extract Diagonal |
DSP Blockset |
| Forward Substitution |
DSP Blockset |
| LDL Factorization |
DSP Blockset |
| LU Factorization |
DSP Blockset |
tril |
MATLAB |
triu |
MATLAB |
| Extract Diagonal | FFT | ![]() |