Numeric Solver

조회 수: 5 (최근 30일)
varun jain
varun jain 2012년 3월 29일
hello,
I have a question regarding the numerical solvers available in Matlab I have a total of 24 equations with 23 variables(not all equations include all variables). --> f(x)=[f1(x);f2(x)....f24(x)] ; x being vector =[x1;x2....x23].
The question is : Can I use "fsolve" to solve equations of such form even though not all the equations are non-linear (7 equations being linear). Also the Numeric Solver automatically chooses the levenberg-marquardt algorithm and not the trust-region-dogleg. Is it because of the linear equations ?
The results I get using "fsolve" appear to be as expected for the cases I have tested, but as I can not check for all cases I wanted to know such an approach is reasonable.
Or will it better to use fminunc/fmincon by transforming the functions to the form: f(x)=sqrt(f1(x)^2+ f2(x)^2+......f24(x)^2).
Please reply back as soon as possible. Thank you.
Varun

답변 (0개)

카테고리

Help CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by