To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
x+3y=5;2x+4y=4. In general maths, we can be able to find the values of 'x' and 'y' from the above equations. How to find it in MATLAB?
If you have the Symbolic toolbox,
syms x y solve(x + 3*y - 5, 2*x + 4*y - 4)
A = [1 3;... 2 4;]; b = [5;... 4];
%Solve Ax=b as A\b X = A\b >> A\b
Read more here: http://www.mathworks.com/help/matlab/ref/mldivide.html