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

2 views (last 30 days)
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!

Answers (1)

Widagdo Purbowaskito
Widagdo Purbowaskito on 15 Mar 2022
Edited: Widagdo Purbowaskito on 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.

Categories

Find more on Grey-Box Model Estimation in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!