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
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