powered by
Combine matrices to block diagonal structure
blockdiag(x, ..., pad = 0)
Matrix
Additional matrices
Vyalue outside block-diagonal
Klaus K. Holst
A <- diag(3)+1 blockdiag(A,A,A,pad=NA)
Run the code above in your browser using DataLab