フィルターのクリア

Optimization to fit a curve to data (problem with the InitialPopulationMatrix)

1 回表示 (過去 30 日間)
Hidd_1
Hidd_1 2023 年 5 月 19 日
編集済み: Hidd_1 2023 年 5 月 20 日
I am triying to fit the eclosed data using optimoptions, and for that I used the gradient descent.
This is the objective function, but in case someone has better idea would be great!
x = 1:size(Data,2);
I think I have to add the 'InitialPopulationMatrix' but I didn't know how to add it
I would appreciate any help & Thanks!

採用された回答

Matt J
Matt J 2023 年 5 月 19 日
Instead of
x = 1:size(Data,2);
perhaps try a more normalized range of x, e.g.,
x=linspace(0,1,size(Data,2))
  2 件のコメント
Hidd_1
Hidd_1 2023 年 5 月 19 日
Do you have any idea about how can I improve the fitting?
Matt J
Matt J 2023 年 5 月 19 日
SInce you accepted the answer, I assume you got my suggestion to work?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResampling Techniques についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by