diff scripts/general/flipud.m @ 3369:f37ca3017116

[project @ 1999-11-21 16:26:02 by jwe]
author jwe
date Sun, 21 Nov 1999 16:26:08 +0000
parents 8b262e771614
children 5e0a0b1cba43
line wrap: on
line diff
--- a/scripts/general/flipud.m	Sat Nov 20 17:23:01 1999 +0000
+++ b/scripts/general/flipud.m	Sun Nov 21 16:26:08 1999 +0000
@@ -17,10 +17,20 @@
 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-## usage: flipud (x)
-##
-## Return x with the rows swapped.
-##
+## -*- texinfo -*-
+## @deftypefn {Function File} {} flipud (@var{x})
+## Return a copy of @var{x} with the order of the rows reversed.  For
+## example,
+## 
+## @example
+## @group
+## flipud ([1, 2; 3, 4])
+##      @result{}  3  4
+##          1  2
+## @end group
+## @end example
+## @end deftypefn
+
 ## See also: fliplr, rot90
 
 ## Author: jwe