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

2 次查看(过去 30 天)
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!

回答(1 个)

Widagdo Purbowaskito
编辑:Widagdo Purbowaskito 2022-3-15
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.

类别

Help CenterFile Exchange 中查找有关 Grey-Box Model Estimation 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by