block version of diag function
Kamaraju S Kusumanchi
kamaraju at bluebottle.com
Thu Mar 6 15:05:25 CST 2008
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/
More information about the Help-octave
mailing list