Why does transfer function modelling give different results?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Star Strider
el 20 de Nov. de 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 comentarios
Star Strider
el 20 de Nov. de 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.
Ver también
Categorías
Más información sobre Linear Model Identification en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!