[TOC]
lt
Element-wise comparison (less than) of arrays
Usage
lt(A, B)
A and B should have compatible sizes.
- If the inputs have different but compatible sizes, one of the inputs will be expanded to match the size of the other input. In particular, if one of the inputs is a scalar, it compares this scalar with each element of the other input.
- An element of the output is assigned logical
1 if the corresponding element of A is strictly less than the corresponding element of B, and is assigned logical 0 if otherwise.
- If
A or B is complex, it compares their real parts only.
- It gives the same result as
A < B.