MATLAB: I have a matrix A of order 3 X 7 and C is a matrix made

matrix manipulation

I have a matrix A of order 3 X 7 and C is a matrix made of first , fourth and seventh columns of A I Need to find a matrix B of order 7 X 3 such that AB=C
A =
1.0000 3.0000 5.0000 7.0000 9.0000 11.0000 13.0000 15.0000
2.5000 2.0000 1.5000 1.0000 0.5000 0 -0.5000 -1.0000
0.2500 0.5000 1.0000 2.0000 4.0000 8.0000 16.0000 32.0000
C= 1.0000 7.0000 13.0000
2.5000 1.0000 -0.5000
0.2500 2.0000 16.0000

Best Answer

B=A\C
B =
1.0000 0.3445 -0.0766
0 0 0
0 0 0
0 0 0
0 0 0
0.0000 0.7943 0.7679
0 0 0
-0.0000 -0.1388 0.3086
>> A*B
ans =
1.0000 7.0000 13.0000
2.5000 1.0000 -0.5000
0.2500 2.0000 16.0000