diff scripts/general/fliplr.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/fliplr.m
+++ b/scripts/general/fliplr.m
@@ -17,10 +17,20 @@
 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-## usage: fliplr (x)
-##
-## Return x with the columns swapped.
-##
+## -*- texinfo -*-
+## @deftypefn {Function File} {} fliplr (@var{x})
+## Return a copy of @var{x} with the order of the columns reversed.  For
+## example, 
+## 
+## @example
+## @group
+## fliplr ([1, 2; 3, 4])
+##      @result{}  2  1
+##          4  3
+## @end group
+## @end example
+## @end deftypefn
+
 ## See also: flipu, rot90
 
 ## Author: jwe