David
Farruggio

MathGenie

le, <=

Determine less than or equal to

Syntax and Description

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

Back to functions