Why does transfer function modelling give different results?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi.
From the command line I am trying to estimate a transfer model (2 poles, 1 zero) that will have good fit to my data. When I compare the model to my output, most of the times the fit is quite well (see first figure below). Sometimes though, the transfer function behaves abnormal and the fitted data is quite odd (see second figure below). My question is what can be the reason for this to happen, does it have to do with my input? My input is just a straight line with positive, constant slope.
Figure 1:

Figure 2:

0 Kommentare
Antworten (1)
Star Strider
am 20 Nov. 2014
You didn’t post your code so I have to guess. If you’re using one of the nonlinear solvers such as nlinfit, lsqcurvefit, or fminsearch, understand that they are sensitive to the initial parameter estimates you give them. and can get caught in a local minimum. The more you know about your function, the more accurately you can estimate the initial parameter values you give to your function. Even if successful, different function fits will give slightly different parameter estimates, one reason to use nlparci to estimate their confidence intervals.
3 Kommentare
Star Strider
am 20 Nov. 2014
I have the System Identification Toolbox, but I haven’t used it in a while. I thought you were using one of the nonlinear curve fitting functions. I’ll delete my answer in a few minutes.
Siehe auch
Kategorien
Mehr zu Linear Model Identification finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!