NewtonRaphson

Yet another solver that uses the backslash function to solve a set of non-linear equations

http://www.mathworks.com/matlabcentral/fileexchange/43097-newton-raphson-solver

Download
Download

You are now following this Submission

Cite As

Mark Mikofski (2026). NewtonRaphson (https://github.com/mikofski/NewtonRaphson), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

Add BSD-3 license.

Download
1.6.0-0

* allow sparse matrices, replace cond() with condest()
* check if Jstar has NaN or Inf, return NaN or Inf for cond() and return exitflag: -1, matrix is singular.
* fix bug: max iteration detection and exitflag reporting typos

Download
1.5.0

version 0.4 - exit if any dx is nan or inf, allow lsq curve-fit type problems.

Download
1.4.0

(1) fix need dummy vars dx and convergence to display 0th iteration bug, and (2) if f isnan or isinf need to set lambda2 and f2 before continue bug (3) also reattach moody chart

Download
1.2.0

v0.3: Display RCOND and lambda each step. Use ducktyping in funwrapper. Remove Ftyp and F scaling. Use backtracking line search. Output messages, exitflag and min relative step.

Download
1.1.0

remove TypicalX and FinDiffRelStep, change feval to evalf & new example solves pipe flow problem using implicit Colebrook equation

Download
1.0.0

Download
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.