Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

blkdiag - Construct block diagonal matrix from input arguments

Syntax

out = blkdiag(a,b,c,d,...)

Description

out = blkdiag(a,b,c,d,...), where a, b, c, d, ... are matrices, outputs a block diagonal matrix of the form

The input matrices do not have to be square, nor do they have to be of equal size.

See Also

diag, horzcat, vertcat

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS