le
Define less than or equal to condition
Description
Examples
Input Arguments
Tips
Calling
<=orlefor non-symbolicAandBinvokes the MATLAB®lefunction. This function returns a logical array with elements set to logical1 (true)whereAis less than or equal toB; otherwise, it returns logical0 (false).If both
AandBare arrays, then these arrays must have the same dimensions.A <= Breturns an array of relationsA(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 <= ibecomesx <= 0, andx <= 3 + 2*ibecomesx <= 3.
Version History
Introduced in R2012a