Why does transfer function modelling give different results?

3 ビュー (過去 30 日間)
Rafi
Rafi 2014 年 11 月 20 日
コメント済み: Arkadiy Turevskiy 2014 年 11 月 26 日
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:

回答 (1 件)

Star Strider
Star Strider 2014 年 11 月 20 日
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 件のコメント
Star Strider
Star Strider 2014 年 11 月 20 日
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 2014 年 11 月 26 日
Could you attach a mat file with x_m and y_m?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear Model Identification についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by