text hiding inside the cover image
1 view (last 30 days)
Pritesh Shah on 5 Oct 2016
I1 = logical(de2bi(uint8(hiddenstring)));
Please, check size of I1 to I7. Make sure that all must have same dimension.
Walter Roberson on 5 Oct 2016
de2bi defaults to outputting only as many bits wide as is required to hold the largest value it is passed. For text input that would typically be either 6 or 7 bits. Your other code probably assumed that de2bi was returning 8 bits.