A=[1;2; 12; 3; 3; 4]
b= [1; 2; 12; 3; 3; 4]
x1 = [1:numel(A)];
tx1 = transpose(x1)
for i = transpose(1:numel(A))
tS(i,j) = solve( 1.*b + x1.*A == 0, tx1(i,j))
I am trying to solve an equation containing variables as column vectors. I have declared the symbolic variables and have tried to use the function solve.
I keep getting this error as an incorrect arugument data type for function solve!!
Can someone help me out with this error!??
And also, how can i create and display an array which stores all the solutions of the solve function??