I have a column vector A (6x1) with values [6 3 10 4 2 8]'; and a matrix B (6x5) with values
B = [1 2 3 0 4 ;
3 7 8 5 0 ;
0 9 1 0 1 ;
5 0 3 1 2 ;
4 6 7 6 4 ;
3 1 2 7 3]
I want to make five matrices with size 6x2 using Matlab.
The first column is vector
AThe second column is columns from
B, like[A, B(first col)],[A, B(second col)]- First matrix is
[6 1; 3 3; 10 0; 4 5; 2 4; 8 3]; - 2nd matrix is
[6 2; 3 7; 10 9; 4 0; 2 6; 8 1] - ... and so on
- First matrix is
Any help I really appreciate it