Custom Regressor in Nonlinear Model created from Data
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello I have created a non linear model idnlarx from a data set and I am trying to improve my fit
by using a custom regressor expression. Since my data comes from a temperature sensor, I know it's a function of exponential grow and decay.
However I have problems to do it right, since i have a MIMO system with 5 inputs ( 0 or 1) and 4 outputs (Temperatures).
I have created the custom regressors like this:
cr1 = @(x,y) 25+x*exp(-y); // Describes exponential decay until room temp (25) is reached
cr2 = @(x,y) 25+x*(350-exp(-y)); //describes expontial asymptotic growth up to temp (350)
C = [customreg(cr1,{'u1','y1'},[10 13]),customreg(cr2,{'u1,'y1'},[20 40])];
But when I use these custom regs for all output/input relations my results get really bad. Maybe I am doing something wrong?
Of course depending on u the output can always grow or decay so I used cr1 and cr2 on every input output like in my example.
best regards
댓글 수: 0
답변 (2개)
Rajiv Singh
2019년 8월 5일
Could you describe the underlying physics here? Is the input some type of switch that turns a heat source on or off? Note that exponential growth/decay does not necessarily mean that you have to incorporate exponential regressors; see a capacitor charging equation for example.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear ARX Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!