- compute the residuals for any set of parameters.
- square them.
- add them up.
- Minimize that sum.
have anyone done SOS (sum of squares, optimization ) in matlab
2 ビュー (過去 30 日間)
古いコメントを表示
i dont understand where to start
0 件のコメント
回答 (2 件)
John D'Errico
2015 年 8 月 20 日
編集済み: Walter Roberson
2024 年 6 月 10 日
This is not a question, but an admission of cluelessness, and a plea for help. A complete answer would fill a book, a rather large one.
help polyfit
help nlinfit
help lsqnonlin
help lsqcurvefit
help lsqlin
help fminsearch
You start at the beginning. You start reading. You start writing code. TRY SOMETHING.
And, if this is homework, so you cannot use those tools, you...
1 件のコメント
Cedric
2024 年 6 月 10 日
編集済み: Walter Roberson
2024 年 6 月 10 日
> This is not a question, but an admission of cluelessness, and a plea for help. A complete answer would fill a book, a rather large one.
I understand your discontent to lack of research from the poster, however. Anyone like me who searches this exact question on Google arrives to this unhelpful answer 10 years later. The poster referred to sum of squares programming which the steps you listed are not directly helpful to convert the SOS program into a semidefinite one, to be solved efficiently.
参考
カテゴリ
Help Center および File Exchange で Surrogate Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!