MATLAB: Merge two columns into one column

combinemerge

I have two columns that i want to merge into one column. Meaning i want
A=[123; 321] and
B=[456; 654] to be merged/combined into a new column
C=[123456; 321654]
I this possible?

Best Answer

C = 10.^ceil(log10(B)).*A + B;