In this section you should think of 1 as "true" and 0 as "false". The notations &, |, ~ stand for "and", "or" and "not", respectively. The notation == is a check for equality. Try these
a=[1, 0, 1, 0] b=[1, 1, 0, 0] a==b a<=b ~a a&b a&~a a|b a|~a
a any(a) all(a) c=zeros(1,4) d=ones(1,4) any(c) all(d) e=[a', b', c', d'] any(e) all(e) any(all(e))
Next Section: 4. Colon Notation