Can I use a range when I estimate coefficients to fit given solution with grey box estimation?

1 vue (au cours des 30 derniers jours)
Hi all,
When I'm estimating coefficients of ODEs to fit given solution, I sometimes get crazy estimations when I change the startvalues. Is it by any chance possible to give a range in which the estimations should be?
Suppose I'm estimating gravity, I could for example say that it should be between 8 and 11.
Thanks in advance!

Réponses (1)

Widagdo Purbowaskito
Widagdo Purbowaskito le 15 Mar 2022
Modifié(e) : Widagdo Purbowaskito le 15 Mar 2022
Yes you can do that.
First you need to set your inital system through idgrey function, init_sys = idgrey(odefun,parameters,fcn_type,extra_args,Ts);
Then, you can set your parameters boundaries: init_sys.Structure.Parameters.Minimum(1) = 8; init_sys.Structure.Parameters.Maximum(1) = 11;
This will depends on how many parameters you want to set the boundary.

Catégories

En savoir plus sur Linear Model Identification dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by