필터 지우기
필터 지우기

Iterative calculation of non-linear equations.

조회 수: 4 (최근 30일)
Joaquim Monteiro
Joaquim Monteiro 2015년 11월 9일
답변: Matt J 2015년 11월 9일
I'm a newbie in matlab.
I need to make a calculation were I estimate initial values, then with this values solve non-linear equations and at the end compare with a residual value, store the values of the calculation, and start again another loop.
Can anyone tell the best way to do this.
Thanks advance.

답변 (2개)

Brandon
Brandon 2015년 11월 9일
Have you tried writing your function as an anonymous function and using the fminsearch function to minimize the equation?
y = @(x) 6*x^2
options = optimset('Display', 'iter');
[x,fval,exitflag] = fminsearch(y, 1, options);

Matt J
Matt J 2015년 11월 9일
See FSOLVE.

카테고리

Help CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by