CFTool Parameter bounds dependent on Parameters from same run
5 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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’.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!