Hi,
I have a text file with a large number of binary information formed into groups of 10 bits, were each group is either separated by spaces.
The data looks something like this:
0001101111 0001101111 0001101111 0001001011 0001001011 0001001011 0001101111 0001101111 0001101111 0001001011 0001001011 0001001011 0001111011 0001111011 0001111011 0001011010 0001011010 0001011010 0001111011 0001111011 0001111011 0001011010 0001011010 0001011010 ....
No what I want to do is, to import this information into an integer array of sized (x by 10) in matlab, where the 10-bit bytes are inserted into the array in an raster fashion.
i.e. I want the bytes sequenced as follow in the text file
1 2 3 4 5 6 7 8
to be inserted into the array as
12345678Many Thanks, Arsalan
Best Answer