Flip array along specified dimension
flipdim will be removed in a future release. Use flip instead.
B = flipdim(A,dim)
When the value of dim is 1, the array is flipped row-wise down. When dim is 2, the array is flipped columnwise left to right. flipdim(A,1) is the same as flipud(A), and flipdim(A,2) is the same as fliplr(A).