Suppose that you have two vectors: X = [0;1;2;3;4;5;6;7;8;9;10] Y = [1;3;5;7;9] | 1 2 1 | | 3 4 2 | then M = JOIN(X,Y) makes a matrix M = | 5 6 3 | | 7 8 4 | | 9 10 5 |