how can I use Newton's method to find the extremum with error < 10^-4 ?
조회 수: 1 (최근 30일)
이전 댓글 표시
f = @(x) 20.*exp(-(x-4).^4) + 6.*sin((pi./7).*x) + 0.4.*x + 20 ;
df = -80.*exp(-(x-4).^4).*((x-4).^3) + ((6./7).*pi).*cos((pi./7).*x) + 0.4 ;
댓글 수: 0
답변 (1개)
Nishitha Ayyalapu
2013년 10월 15일
편집: Nishitha Ayyalapu
2013년 10월 15일
These functions can do the job: Derivative-free approach:
fminsearch
Derivate based approach
fminunc
You can find more about the available optimization tools here:
Hope this helps!!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!