Why does transfer function modelling give different results?

9 visualizaciones (últimos 30 días)
Rafi
Rafi el 20 de Nov. de 2014
Comentada: Arkadiy Turevskiy el 26 de Nov. de 2014
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:

Respuestas (1)

Star Strider
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
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.
Arkadiy Turevskiy
Arkadiy Turevskiy el 26 de Nov. de 2014
Could you attach a mat file with x_m and y_m?

Iniciar sesión para comentar.

Categorías

Más información sobre Linear Model Identification en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by