% How do I write to solve for y?
A = [1 2; 3 4];B = [0 0; 1 1];y = [x1; x2];C = [1; 0];% y should be a 2x1, but I'm getting a 2x2.
MATLAB: Solving matrices in form of (A + Bx = C)
MATLABmatricesmatrix manipulation
MATLABmatricesmatrix manipulation
% How do I write to solve for y?
A = [1 2; 3 4];B = [0 0; 1 1];y = [x1; x2];C = [1; 0];% y should be a 2x1, but I'm getting a 2x2.
Best Answer