Skip to main content
1 of 5
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k
a = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};

b = {{1, 2}, {3, 4}};

ArrayFlatten[{{a, 0}, {0, b}}] // MatrixForm

Mathematica graphics

Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k