Can I use the <, >, <=, and >= operators in a switch expression?

ok. but it seems you found it… I might not react to all the request.

I had question for switch sentence also:
“allows you to use the <, >, <=, and >= operators in a switch expression”
Ref:

Can this be implemented done in octave somehow also? (maybe using range?)

I don’t see how that relates to the original topic.
Like I already wrote multiple times:
If you have a separate question, please start a new thread!

According to The switch Statement (GNU Octave (version 6.3.0)) one can compare general expressions, strings, and whatsoever can be expressed as cell array.

Please describe what “this” from the longer article you like to implement.

I was thinking that

switch (c)
  case >= {5}
     ...
  endcase;
  case == {1,2}
     ...
  endcase;
  otherwise
    ...
endswitch;

where caseq is when c is equal to 1 or 2 and caslte when c is larger than or equal to 5.
Because comparison for equal or larger/smaller than would occur easily in similar manner.

switch (c)
  case >= {2}
     ... op1
  case <= {5}
     ... op2
  endcase;
  otherwise
    ...
endswitch;

this case op1 is executed for c larger than 2 and op2 executed for 2<=c<=5.

Nope, the switch structure only compares for equality, it doesn’t allow for other operators or complex logical expressions to be substituted.

ok.
I don’t mean complex, but larger and smaller than operators.
This should be possible.