Contents Previous Next Subchapters

Logical Indices (Mlmode)
Syntax x(index)
O-Matrix Mode row and column flags

Description
Indices can be logical values in Mlmode. Only the indices that correspond to true values are included in the result.

Example
If in Mlmode you enter
     x    = [ 0 1 2 3 4 5 6 ];
     flag = x > 1;
     x(flag)
O-Matrix will respond
     [ 2 3 4 5 6 ]