comparison scripts/general/blkdiag.m @ 7016:93c65f2a5668

[project @ 2007-10-12 06:40:56 by jwe]
author jwe
date Fri, 12 Oct 2007 06:41:26 +0000
parents 34f96dd5441b
children a1dbe9d80eee
comparison
equal deleted inserted replaced
7015:0a708692d51d 7016:93c65f2a5668
1 ## Copyright (C) 2000 Daniel Calvelo 1 ## Copyright (C) 2000 Daniel Calvelo
2 ## 2 ##
3 ## This program is free software; you can redistribute it and/or modify 3 ## This file is part of Octave.
4 ## it under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation; either version 2 of the License, or
6 ## (at your option) any later version.
7 ## 4 ##
8 ## This program is distributed in the hope that it will be useful, 5 ## Octave is free software; you can redistribute it and/or modify it
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of 6 ## under the terms of the GNU General Public License as published by
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 7 ## the Free Software Foundation; either version 3 of the License, or (at
11 ## GNU General Public License for more details. 8 ## your option) any later version.
9 ##
10 ## Octave is distributed in the hope that it will be useful, but
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ## General Public License for more details.
12 ## 14 ##
13 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
14 ## along with Octave; see the file COPYING. If not, write to the Free 16 ## along with Octave; see the file COPYING. If not, see
15 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 17 ## <http://www.gnu.org/licenses/>.
16 ## 02110-1301, USA.
17 18
18 ## -*- texinfo -*- 19 ## -*- texinfo -*-
19 ## @deftypefn {Function File} {} blkdiag (@var{a}, @var{b}, @var{c}, @dots{}) 20 ## @deftypefn {Function File} {} blkdiag (@var{a}, @var{b}, @var{c}, @dots{})
20 ## Build a block diagonal matrix from @var{a}, @var{b}, @var{c}, @dots{}. 21 ## Build a block diagonal matrix from @var{a}, @var{b}, @var{c}, @dots{}.
21 ## All the arguments must be numeric and are two-dimensional matrices or 22 ## All the arguments must be numeric and are two-dimensional matrices or