equivalent of fsolve in MATLAB

조회 수: 32 (최근 30일)
Nouhayla EL GHANI
Nouhayla EL GHANI 2015년 9월 4일
댓글: Star Strider 2015년 9월 4일
Hi,
I need to solve a non-linear problem, but I don't have the toolbox optimisation. Can you help find an other way??
Thanks

답변 (2개)

Alan Weiss
Alan Weiss 2015년 9월 4일
It depends on how many variables you have. If you have one unknown in a nonlinear function, you can use fzero. If you have more than one unknown, then you can try fminsearch on the sum of squares of your function values. But this might fail. Try starting at a variety of points to have a better chance of finding a solution.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

Matt J
Matt J 2015년 9월 4일
편집: Matt J 2015년 9월 4일
There are a number of nonlinear least squares solvers on the File Exchange. Browse for your favorite:

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by