lt, <

Determine less than

Syntax and Description

A < B returns an array with elements set to logical 1 (true) where A is less than B; otherwise, the element is logical 0 (false). The test compares only the real part of numeric arrays. lt returns logical 0 (false) where A or B have NaN or undefined categorical elements.
lt(A,B) is an alternate way to execute A < B, but is rarely used.

Back to functions