<< toeplitz | Elementary functions | triu >> |
T = tril(M) |
T = tril(M, k) |
2D input matrix
Diagonals to include: integer real value
Lower Triangular Portions of Matrix
tril computes Lower Triangular Portions of Matrix.
R = tril(M, k) returns the elements on and above the kth diagonal of M.
x = [1+i,-i;i,2i];
r = tril(x)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET