In MATLAB, this is done in a single line of code, I also wonder if there is a similar thing in Julia:
>> syms x y z
>> [x,y,z] = solve(3*x + 5*y + 2*z == 12, 2*x + 5*y - 4*z == 9,4*x - y + 5*z == -3)
x =
-33/37
y =
99/37
z =
24/37
In MATLAB, this is done in a single line of code, I also wonder if there is a similar thing in Julia:
>> syms x y z
>> [x,y,z] = solve(3*x + 5*y + 2*z == 12, 2*x + 5*y - 4*z == 9,4*x - y + 5*z == -3)
x =
-33/37
y =
99/37
z =
24/37