flipud

Returns R, which is the matrix, m, with its rows flipped from top to bottom.

Syntax

R = flipud(m)

Inputs

m
Type: string | mat

Outputs

R
Type: string | mat

Example

Real matrix:
R = flipud([1,2,3,4;5,6,7,8;9,10,11,12])

R = [Matrix] 3 x 4
9  10  11  12
5   6   7   8
1   2   3   4