23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2blkdiag<br />

Purpose Construct a block diagonal matrix from input arguments<br />

Syntax out = blkdiag(a,b,c,d,...)<br />

Description out = blkdiag(a,b,c,d,...) , where a, b, c, d, ... are matrices, outputs a<br />

block diagonal matrix of the form<br />

See Also diag<br />

a 000 0<br />

0 b 00 0<br />

00c 0 0<br />

000d 0<br />

0000…<br />

The input matrices do not have to be square, nor do they have to be of equal<br />

size.<br />

blkdiag works not only for matrices, but for any <strong>MATLAB</strong> objects which<br />

support horzcat and vertcat operations.<br />

blkdiag<br />

2-169

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!