After I created values for all the constants (it would have been nice to have had those), this ran for me without error:
F = @(sol) [fun1(sol), fun2(sol), fun3(sol)]
sol=fsolve(F,sol0)
Defining âFâ as a cell array is a problem, because then the elements are elements of a cell array, and fsolve objects to that. Defining âFâ as a matrix and as its own anonymous function seems to work.
Best Answer