Azzera filtri
Azzera filtri

CFTool Parameter bounds dependent on Parameters from same run

4 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Sarthak
Sarthak il 21 Mar 2023
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.

Community Treasure Hunt

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

Start Hunting!

Translated by