flip {treelet}R Documentation

a little function which is equal to flipud in matlab,make the matrix"upside-down"

Description

Use recursive function

Usage

flip(A)

Arguments

A The input matrix: matrix to be flipped

Value

~Describe the value returned

A the flipped matrix

Author(s)

Ann Lee, Di Liu

Examples


   x=matrix(seq(1,9,by=1),ncol=3)
   flip(x)

[Package treelet version 0.1-0 Index]