MATLAB: [68 65 6c 6c 6f 20 68 6f] i want to convert this vector into a matrix 4*4 with nibble (4 bits)
hexhexadecimal
[68 65 6c 6c 6f 20 68 6f]====>[6 8 6 5 ;6 c 6 c ;6 f 2 0 ;6 8 6 f] kindly help
Best Answer
All you changed withformat hex is the way Matlab shows you the values, you didn't actually change the values. You can convert the decimal values to a hex string, and then concatenate the strings. What you end up with is a 1x32 char vector, which you could reshape into a matrix if you like.
Best Answer