Thanks Danny! I've also spent a couple of hours trying to figure out how to solve this, but I couldn't. If you find it, please share with us! And if it is a bug I'll be very greatful with you for correcting it!
Thanks! Good luck!
thanks for your work. When i use your code to solve five nonlinear equations, the answers are NaN, and the message is: Warning: Matrix is singular, close to singular or badly scaled.
Results may be inaccurate. RCOND = NaN.
Could you give me some suggestions on how to solve it? thanks