Root finding algorithms for nonlinear physical circuits

The MATLAB code for several multivariate root finding algorithms are provided in the below gist, entitled numericalsolver. Four methods are implemented:

For the New Iterate, the iterate must be found prior to running the function and then used with Newton’s method. The limitation of the capped step must also be calculated prior to running the function.

numericalsolver