Can Matlab handle concatenation of more than 2 variables?
eg.
A{1}=[1 2 3]A{2}=[4 5 6]
I understand that C=vertcat(A{1},A{2}).
However, if I have say 100 variables and I wish to vertcat them, how can I do so?
eg.
A{1}=[1 2 3]A{2}=[4 5 6]A{3}=[7 8 9]A{4}=[10 11 12]
and so on….until A{30}.
How can I do so with a single function?
Best Answer