fork(1) download
  1. A = [ 2 2 2;
  2. 3 3 3;
  3. 4 4 4;
  4. 5 5 5;
  5. 6 6 6]
  6. B = [0 1 0 1 0];
  7. A( B~= 1, : )
Success #stdin #stdout 0.19s 65040KB
stdin
Standard input is empty
stdout
A =

   2   2   2
   3   3   3
   4   4   4
   5   5   5
   6   6   6

ans =

   2   2   2
   4   4   4
   6   6   6