[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: block version of diag function
From: |
Kamaraju S Kusumanchi |
Subject: |
Re: block version of diag function |
Date: |
Thu, 06 Mar 2008 16:05:25 -0500 |
User-agent: |
KNode/0.10.4 |
Francesco Potorti` wrote:
>>2) Is there any way to assemble a set of blocks along the diagonals of a
>>bigger matrix.
>
> This is easy:
>
> -- Function File: blkdiag (A, B, C, ...)
> Build a block diagonal matrix from A, B, C, .... All the
> arguments must be numeric and are two-dimensional matrices or
> scalars.
>
Thank you. I was being stupid. I was using octave 3.0.0 but was looking at
the documentation for octave 2.9.9 (feb 1997). That is why I did not find
this function when I searched the whole document for the word 'block'. Now
I switched to the correct documentation.
regards
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/