I'm currently using Matlab's fsolve() to solve a system of three equations with eight unknowns (equations of motion for a four thruster vehicle - force and angle per thruster). I realize there is an infinite number of solutions available, but I'd still like for fsolve to give me an answer. Most of the time it can. That said, when running it in a simulation loop, I have found that towards the end of my simulation fsolve fails repeatedly to find a solution. I've tried increasing the tolerance and maximum number of iterations (it terminate out on max iterations reached), but that doesn't seem to help.
Is there a way to better help fsolve() in this configuration? Is it wrong to expect fsolve to provide any type of answer given my number of equations? Any advice is welcome.
Thanks!