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 Center および File ExchangeGet 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