I need to solve a system of non-linear equations. For example, I need to solve 10,000 equations, where each individual equation is of the form: 0 = fun(x, c). I want to get a vector X which contains the solution x for each individual equation. In the function, the c is a parameter. There're 10,000 different parameters, so that's why there're 10,000 equations. I have already know how to write a for loop and use fzero to solve for each individual equation with their corresponding c. However, that's too slow. Is there a better way to use "fsolve" to solve this systems of nonlinear equations?
MATLAB: Solving systems of non-linear equations
fsolve
Best Answer