<=
Less than or equal to comparison operator.
Syntax
R = A <= B
Inputs
- A
- Anything that can be logically tested.
- B
- Anything that can be logically tested.
Outputs
- R
- Numerical representation of true or false (1 or 0).
Examples
Scalar
example:
R = 2 <= 3
R = 1
Matrix
example.
R = 1 <=[0 1 2]
R = [Matrix] 1 x 3
0 1 1
Comments
Complex number comparisons are based on real parts only.