CFTool Parameter bounds dependent on Parameters from same run

5 visualizaciones (últimos 30 días)
Matthias Kimmich
Matthias Kimmich el 28 de Nov. de 2022
Respondida: Sarthak el 21 de Mzo. de 2023
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

Respuestas (1)

Sarthak
Sarthak el 21 de Mzo. de 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.

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by