How do I constrain a vector's value within a nonlinear fit?
3 ビュー (過去 30 日間)
古いコメントを表示
I am fitting a set of data using nlinfit as magnetic dipoles and I want my fitted parameters to be only positive.
How do I make this constraint?
0 件のコメント
採用された回答
Torsten
2017 年 7 月 20 日
Put them in the fittype equation as parameters-squared.
Best wishes
Torsten.
3 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Linear and Nonlinear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!