I have a cell array called Event of 179X59 entries and each element is a <1X14> double
so for example Event{1,1} is a 14 bit binary number in it.. like 0 1 0 0 0 0 0 0 0 0 1 0 0 0 which is spread out through columns 1 to 14 so each columns has a bit.
Now my task is to index through each element of the cell array and get into the double and assign a particular alphabet say a for the first bit if I see 1.
So if my alphabets are A through N for a binary 1 1 1 1 1 1 1 1 1 1 1 1 1 1, need to get
A B C D E F G H I J K L M N instead of that binary number.
So for the example give in the second line 0 1 0 0 0 0 0 0 0 0 1 0 0 0 I need to get
0 B 0 0 0 0 0 0 0 0 K 0 0 0
and in the end should return B,K removing zeros.
I have tried assigning each element to a matrix and tried using strrep but its not helping me out.
Aetc are numbers, right? - Luis Mendo