block version of diag function

Francesco Potorti` Potorti at isti.cnr.it
Thu Mar 6 11:33:06 CST 2008


>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.

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
Web: http://fly.isti.cnr.it/           Key:   fly.isti.cnr.it/public.key


More information about the Help-octave mailing list