I need to make one of coefficients in my model function stricte positive number to avoid complex results. Is there any possibility to limit my coefficient?

 採用された回答

Torsten
Torsten 2017 年 1 月 4 日

0 投票

Square the coefficient in your model.
Best wishes
Torsten.

2 件のコメント

Mateusz Pydych
Mateusz Pydych 2017 年 1 月 4 日
Thanks for your answer Torsten, it's of course pretty smart and actually works, but that's not quite what I meant. I probably formulated question poorly. What I meant was: is there any option in matlab fitting tool that allows me to limit values of coefficient. For example limit it to be only in (0,1) numerical rang
Torsten
Torsten 2017 年 1 月 4 日
https://de.mathworks.com/matlabcentral/answers/183431-how-to-limit-variable-range-with-cftool-interactive-curve-fitting-toolbox
Best wishes
Torsten.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Linear and Nonlinear Regression についてさらに検索

質問済み:

2017 年 1 月 4 日

コメント済み:

2017 年 1 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by