diff scripts/general/prepad.m @ 4870:2cbc6f37b0c2

[project @ 2004-04-21 17:30:51 by jwe]
author jwe
date Wed, 21 Apr 2004 17:30:52 +0000
parents a0997c4d1d54
children 4c8a2e4e0717
line wrap: on
line diff
--- a/scripts/general/prepad.m	Wed Apr 21 17:03:02 2004 +0000
+++ b/scripts/general/prepad.m	Wed Apr 21 17:30:52 2004 +0000
@@ -20,6 +20,7 @@
 ## -*- texinfo -*-
 ## @deftypefn {Function File} {} prepad (@var{x}, @var{l}, @var{c})
 ## @deftypefnx {Function File} {} postpad (@var{x}, @var{l}, @var{c})
+## @deftypefnx {Function File} {} postpad (@var{x}, @var{l}, @var{c}, @var{dim})
 ##
 ## Prepends (appends) the scalar value @var{c} to the vector @var{x}
 ## until it is of length @var{l}.  If the third argument is not
@@ -29,6 +30,9 @@
 ## @var{x} are removed until a vector of length @var{l} is obtained.
 ##
 ## If @var{x} is a matrix, elements are prepended or removed from each row.
+##
+## If the optional @var{dim} argument is given, then operate along this
+## dimension.
 ## @end deftypefn
 
 ## Author: Tony Richardson <arichard@stark.cc.oh.us>