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일
편집: 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