MATLAB: Flip the Bit vector

How to reverse a binary vector. Suppose I have 1 1 0 1 0. I want to make it 0 1 0 1 1.
Which function does it?

Best Answer

fliplr