Concatenating a 5x7 matrix with a 1x7 matrix

Viewed 21

I am trying to concatenate two matrixes, append_a and new_row. For some reason I can not seem to use brackets:

m5=magic(5)
rm=randi([10 20], 5, 2)
append_a=[m5, rm]
new_row=randi([10 20], 1, 7)
0 Answers
Related