MATLAB: Could anyone help me how to combine data in two columns

matrix manipulation

A=[1;
2;
3]
B=[4 ;
5;
6]
I want to have the result in the following manner
[1 4;
2 5;
3 6]
could anyone please help me on this.

Best Answer

Res = [A B]