Function Reference
— Function File: flipud (x)

Return a copy of x with the order of the rows reversed. For example,

          flipud ([1, 2; 3, 4])
                 3  4
                   1  2

Due to the difficulty of defining which axis about which to flip the matrix flipud only work with 2-d arrays. To flip N-d arrays use flipdim instead.