フィルターのクリア

CFTool Parameter bounds dependent on Parameters from same run

4 ビュー (過去 30 日間)
Matthias Kimmich
Matthias Kimmich 2022 年 11 月 28 日
回答済み: Sarthak 2023 年 3 月 21 日
Hello, I am trying to use the CFTool command to get parameters for a function.
The fitting etc works alright and I managed to get the Code from the Curve Fitter in my Matlabcode.
I have 5 parameters (a,b,c,d,e) where the max value of "d" should be smaller than the value of "b".
Can anyone help me out here?
When I use "opts.Upper" it´s not possible to type in b for the max value.
Help would be appreciated.
Greetings

回答 (1 件)

Sarthak
Sarthak 2023 年 3 月 21 日
Hi Matthias,
As per my understanding, the opts.Upper parameter only allows you to set upper bounds on the parameters values. It should allow you to set the upper limit of d as b. I would advise you to double check your syntax and that you have provided the correct order in the opts.Upper option.
You can also refer to this documentation to verify whether you are following the correct steps.
However one other way to work around this is you can set the ‘d’ value to be much larger than the expected value and in the fitting function, you can manually enforce the constraints that d must be less than b.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by