Date: Nov 29, 2012 12:20 PM
Author: Mathew Thomas
Subject: Logical Cell

Hello,

I have a 1 X 5 cell, with logical values:

out{1,1} = [1,0];
out{1,2} = [0,0];
out{1,3} = [0,0,1];
out{4} = 0;
out{5} = [0,1];

How do I get the location of all the ones ?

Something like
(1,1), (3,3), (5,2)

Thanks,
Mathew