ge
Define greater than or equal to condition
Description
Examples
Input Arguments
Tips
Calling
>=
orge
for non-symbolicA
andB
invokes the MATLAB®ge
function. This function returns a logical array with elements set to logical1 (true)
whereA
is greater than or equal toB
; otherwise, it returns logical0 (false)
.If both
A
andB
are arrays, then these arrays must have the same dimensions.A >= B
returns 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 a real axis. For example,
x >= i
becomesx >= 0
, andx >= 3+2*i
becomesx >= 3
.
Version History
Introduced in R2012a