FUNCTION REFERENCE

istril

Test whether all entries above the main diagonal are zero.

Test whether all entries above the main diagonal are zero.

Syntax

tf = istril(A)

Accepts numeric and logical matrices, including rectangular and empty matrices.

Example

istril([1 0; 2 3])   % 1

Differences from MATLAB: Character and cell inputs are rejected, matching MATLAB.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.