I need to transform 8 numbers into 4 like the title, how could i do that?

# MATLAB: [1 0 1 1 0 1 1 0] to [10 11 01 10]

matrix manipulationvector

###### Related Question

- Storing integers from a cell in a variable
- Find the precision of a value
- Concatenate all value in a matrix into one number
- Matrix and binary bits
- Remove leading zeros from dates strings
- How to read and manipulate binary numbers
- Hi, I have a matrix ,say A=[1 0 0;0 1 0; 1 0 0] ; I Want to change the value of the first column where I have ‘1’ with 01 & 10 respectively. Is it possible? TIA

## Best Answer