amr.maghraby
Junior Member level 2
I was using matlab to convert a decimal numbers into binary using de2bi() function
the problem is that de2bi returns the binary value into a matrix and i want it to be in a vector form
inorder to be able to plot the binary values
e.g
de2bi(7) = 1 1 1
i want it to be
de2bi(7) = 111
is there any method to help me
the problem is that de2bi returns the binary value into a matrix and i want it to be in a vector form
inorder to be able to plot the binary values
e.g
de2bi(7) = 1 1 1
i want it to be
de2bi(7) = 111
is there any method to help me