boolean - Scilab Objects, boolean variables and operators & | ~
A boolean variable is %T (for "true") or %F (for "false"). These variables can be used to define matrices of booleans, with the usual syntax. Boolean matrices can be manipulated as ordinary matrices for elements extraction/insertion and concatenation. Note that other usual operations (+, *, -, ^, etc) are undefined for booleans matrices, three special operators are defined for boolean matrices:
[1,2]==[1,3] [1,2]==1 a=1:5; a(a>2)