Define less than or equal to condition
Calling <=
or le
for
non-symbolic A
and B
invokes
the MATLAB® le
function.
This function returns a logical array with elements set to logical 1
(true)
where A
is less than or equal
to B
; otherwise, it returns logical 0
(false)
.
If both A
and B
are arrays, then these
arrays must have the same dimensions. A <= B
returns an array of
relations A(i,j,...) <= B(i,j,...)
.
If one input is scalar and the other an array, then the scalar input is expanded into an array of the same dimensions as the other array.
The field of complex numbers is not an ordered field. MATLAB projects complex numbers in relations to the real axis. For example,
x <= i
becomes x <= 0
, and x <=
3 + 2*i
becomes x <= 3
.