<< le Operators minus >>

lt


less than, < operator.


Syntax


C = lt(A, B)

Input argument


A

a variable

B

a variable

Output argument


C

result of lt(A, B)

Description


C = lt(A, B) returns a logical array with elements set to logical true A is less than B.

lt compares only the real part of numeric arrays.

Examples


eye(2,2) < ones(2, 2)

0 < i

'Nelson' < 'Noslen'

'Nelson' < 'l'

lt(0.8 - 0.6 - 0.2, 0)

See also


ne, le, ge, gt, eq.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< le Operators minus >>