Trying to do a curve fitting but having trouble getting it to work.

조회 수: 1 (최근 30일)
Dillon Romans
Dillon Romans 2021년 2월 18일
댓글: Matt J 2021년 2월 18일
  댓글 수: 3
Dillon Romans
Dillon Romans 2021년 2월 18일
Its an assignment that restricts us from using that function. Do you happen to know why I keep getting the "local minimum possible" error?
Matt J
Matt J 2021년 2월 18일
If it were an error, lsqcurvefit would tell you so, for example:
>> lsqcurvefit(1)
Error using lsqcurvefit (line 171)
The input to LSQCURVEFIT should be either a structure with valid fields or consist of at least four arguments.

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

답변 (1개)

Matt J
Matt J 2021년 2월 18일
편집: Matt J 2021년 2월 18일
Do you happen to know why I keep getting the "local minimum possible"
Because lsqcurvefit thinks it succeeded in finding a solution (and maybe it did!).

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by