changeset 5657:fb1de6e6343b

[project @ 2006-03-09 19:21:39 by jwe]
author jwe
date Thu, 09 Mar 2006 19:21:39 +0000
parents 07a5d0d930e0
children 7b45fda21557
files scripts/general/blkdiag.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/blkdiag.m	Thu Mar 09 19:18:32 2006 +0000
+++ b/scripts/general/blkdiag.m	Thu Mar 09 19:21:39 2006 +0000
@@ -15,8 +15,8 @@
 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} {} blkdiag (@var{a}, @var{b}, @var{c}, ...)
-## Build a block diagonal matrix from @var{a}, @var{b}, @var{c}, ... .
+## @deftypefn {Function File} {} blkdiag (@var{a}, @var{b}, @var{c}, @dots{})
+## Build a block diagonal matrix from @var{a}, @var{b}, @var{c}, @dots{}.
 ## All the arguments must be numeric and are two-dimensional matrices or
 ## scalars.
 ## @seealso{diag, horzcat, vertcat}
@@ -37,7 +37,7 @@
 
   ## Note: trailing singletons are automatically (correctly) ignored.
   if (! all (cellfun ("ndims", varargin) == 2))
-    error ("all of the arguments to blkdiag must be two-dimensional matrices");
+    error ("blkdiag: all arguments must be two-dimensional matrices");
   endif
 
   ## size is an option for cellfun, but it's a bit different from