I want to solve nonlinear simultaneous equations by using the function "fsolve".
I can solve a nonliner equations by using "fsolve".
However, I have the following error message when I try to solve nonlinear simultaneous equations.
Could you tell me how to modify my code?
syms x1 x2equ1=x1^2 - 1;equ2=x2*x1 - 3;test1=matlabFunction(equ1);solve1 = fsolve(test1, [0.5])% solve1 is correct.
test2=matlabFunction(equ1, equ2);solve2 = fsolve(test2, [0, 0])% Error!
Best Answer