C = le(A, B)
| Parameter | Description |
|---|---|
| A | a variable |
| B | a variable |
| Parameter | Description |
|---|---|
| C | result of le(A, B) |
C = le(A, B) returns a logical array with elements set to logicaltrue A is less than or equal to B.
le compares only the real part of numeric arrays.
When inputs are sparse numeric or logical arrays, the result is a sparse logical array. Sparse single and single-complex operands are supported.
For sparse complex arrays, order comparisons use the magnitude of each value.
eye(2,2) <= ones(2, 2)
0 <= i
'Nelson' <= 'Noslen'
'Nelson' <= 'l'
le(0.8 - 0.6 - 0.2, 0)
| Version | Description |
|---|---|
| 1.0.0 | initial version |
| 2.0.0 | sparse single and single-complex operands supported. |