필터 지우기
필터 지우기

Optimization completed because the size of the gradient is less than the value of the optimality tolerance.

조회 수: 7 (최근 30일)
x=[0.0134 0.0260 0.0340 0.0457 0.0533 0.0587 0.0622 0.0694 0.0721 0.0757 0.0784 0.0801 0.0842]; y=[0.0000 0.0000 0.0000 0.0036 0.0230 0.0412 0.0884 0.2845 0.3946 0.4854 0.5495 0.5750 0.5931]; beta0=[0 0 0 0]; [p]=lsqcurvefit(@nihehanshu,beta0,x,y);
  댓글 수: 1
Alan Weiss
Alan Weiss 2022년 3월 22일
I don't know what your question is. The reported exit message is a good one, corresponding to an exit flag of 1. What is it you want to know? The exit message means lsqcurvefit reached a local minimum.
Alan Weiss
MATLAB mathematical toolbox documentation

댓글을 달려면 로그인하십시오.

답변 (1개)

Alan Weiss
Alan Weiss 2022년 3월 22일
I think that you are mistaking the exit message for the solution. The solution resides in the p variable that the solver returns.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

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