Construct block diagonal matrix from input arguments
out = blkdiag(a,b,c,d,...)
out = blkdiag(a,b,c,d,...),
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.
This function fully supports GPU arrays. For more information, see Run MATLAB Functions on a GPU (Parallel Computing Toolbox).