gives a matrix in which all but the lower triangular elements of m are replaced with zeros.
replaces with zeros only the elements above the k subdiagonal of m.
Examplesopen allclose all
Basic Examples (2)
Get the lower triangular part of a matrix:
Get the strictly lower triangular part of a matrix:
Get the lower triangular part of nonsquare matrices:
The number of rows or columns limits the meaningful values of the parameter k:
Properties & Relations (2)