📅  最后修改于: 2022-03-11 14:55:06.655000             🧑  作者: Mango
First create 1 matrix:
A = [1 2 3; 4 5 6; 7 8 9]
then expand it with the cat function as follows:
B = cat(3,A,[3 2 1; 0 9 8; 5 3 7])
The first argument indicates which dimension to concatenate along