FUNCTION REFERENCE

istriu

Test whether all entries below the main diagonal are zero.

Test whether all entries below the main diagonal are zero.

Syntax

tf = istriu(A)

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

Example

istriu([1 2; 0 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.