Skip to content

ge

Element-wise greater-than-or-equal test (function form of >=).

C = ge(A, B)

Returns a logical array where each element is true if A(i) >= B(i).

ge([1 2 3], 2) % [0 1 1]
  • gt — Element-wise greater-than test (function form of >).
  • lt — Element-wise less-than test (function form of <).
  • le — Element-wise less-than-or-equal test (function form of <=).