how to get character from an array using another logical array?
for example
V = '1b.%291x g' 'yig&aaSgwa' 'tqtbbs!?R!'logicalVec = [ 1 0 1 0 1 0 1 0 1 1; 0 1 1 0 1 0 0 0 1 1; 1 0 1 0 0 1 1 1 0 1]
arraymask
V = '1b.%291x g' 'yig&aaSgwa' 'tqtbbs!?R!'logicalVec = [ 1 0 1 0 1 0 1 0 1 1; 0 1 1 0 1 0 0 0 1 1; 1 0 1 0 0 1 1 1 0 1]
Best Answer