I am trying this code in MATLAB, but getting errors
clear all
close all
clc
syms x(i)
eq1= x(1) + 3*x(2) == 7
eq2= x(1) + x(2) == 2
eq=[eq1,eq2]
v=[x(1),x(2)]
solve(eq,v)
Why i cant solve these system of equations using solve? Kindly guide me it will be of immense help.
Best Answer