istril

Determines if the input is a lower triangular matrix.

Syntax

R = istril(x)

Inputs

x
Type: any input

Outputs

R
A logical 1 when x is a lower triangular matrix, and 0 otherwise.
Type: Boolean

Example

Simple istril example:

R = istril([1,0;3,4])
R = 1