Solver for nonlinear equation systems: newton.m

버전 2.0.2 (192 KB) 작성자: Are Mjaavatten
Solves a system f(x) = 0 with n equations in n variables.
다운로드 수: 252
업데이트 날짜: 2021/1/12

라이선스 보기

This is a simple and fast solver for nonlinear equation systems. Calculates a numerical Jacobian if not supplied by the user. It is an alternative to fsolve in Optimization Toolbox. In addition it allows bounds on independent variables, helping the user to find the relevant solution and avoid that his/her function is called with unwanted values.

Many implementations of Newton's method are already available on the File Exchange, but they are often restricted to one or a fixed number of equations, or they are tailored to specific applications. I have found this version useful for a range of problems.

Live scripts for help and examples are included.

인용 양식

Are Mjaavatten (2024). Solver for nonlinear equation systems: newton.m (https://www.mathworks.com/matlabcentral/fileexchange/82320-solver-for-nonlinear-equation-systems-newton-m), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
2.0.2

Forgot to change file

2.0.1

Improved error handling and diagnostics

2.0.0

Uses numerical Jacobian if not provided by the user.
Added bounds on independent variables.
User control of iteration parameters.

1.0.0