Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fliplr

MATLAB matrix flip functions


Description

Flips matrices either left-right or up-down.

Usage

fliplr(object)
flipud(object)

Arguments

object

vector or matrix to be flipped

Details

These are S4 generic functions.

Value

Return value is the same type as argument object.

Author(s)

See Also

Examples

fliplr(1:9)
flipud(1:9)	# same as previous since vectors have no orientation in R
fliplr(matrix(1:9, 3, 3, byrow=TRUE))
flipud(matrix(1:9, 3, 3, byrow=TRUE))

matlab

MATLAB emulation package

v1.0.2
Artistic-2.0
Authors
P. Roebuck
Initial release
2014-06-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.