Transfer function estimation tfestOptions

Hello,
I am using tfest to estimate transfer function in frequency domain and time domain. The tfestOptions that I am using are the following:
opt = tfestOptions('InitialCondition', 'estimate', ...
'SearchMethod', 'lm', ...
'Display', 'on', ...
'EstimateCovariance', true)
I was wondering how can I know the cost function that is used according to the options used above? Also, how can I use different cost functions if i want?
Thank you for your help.

5 件のコメント

Hussein
Hussein 2023 年 11 月 27 日
Anyone have an idea to share?
Mathieu NOE
Mathieu NOE 2023 年 11 月 27 日
hello
one way to answer you would be you invite you to read the doc , but at the end we are on this forum to solve specific questions / problems
so do you have a specific issue with tfestimate , does the result not match your expectations ?
Hussein
Hussein 2023 年 11 月 27 日
Hello,
Thank you for your reply.
No the data matches with a fitting error of 81%. I have been playing around with different options just to check the effect however, I couldnt achieve more than 81%.
I have went through couple of documents but the loss/cost function is generic and I could not know exactly which one is being used.
I have another question: I noticed that the parameters are being estimated using vector fitting and the refinement is being applied by nonlinear least square. Is their a way to change the method of estimating the parameters? if yes, ill be grateful for a quick guidance on how to change it.
Mathieu NOE
Mathieu NOE 2023 年 11 月 27 日
well I don't know if you want to share your data and code and maybe someone will find something interesting to share with you (?)
Hussein
Hussein 2023 年 11 月 27 日
Unfortunately i can't share data, but thanks anyways

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

回答 (1 件)

Rishi
Rishi 2023 年 12 月 7 日

0 投票

Hi Hussein,
I understand from your query that you want to know what cost function you are using, and how to use a different cost function.
The cost function can be configured according to your needs by tinkering with the following estimation options:
  • Focus
  • WeightingFilter
  • EnforceStability
  • OutputWeight
  • ErrorThreshold
  • Regularization
These options can be modified in ‘tfestOptions’, except ‘Focus’. You can learn more about how each of these options affects the cost function from the below documentation:
Also, you can learn more about ‘tfestOptions’ from the below documentation:
Hope this helps.

1 件のコメント

Hussein
Hussein 2023 年 12 月 12 日
Thank your for you respond.
I have already seen this document. In the documentation it shows that a generic cost function is used. My aim is to change or modify the cost function

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

カテゴリ

質問済み:

2023 年 11 月 25 日

コメント済み:

2023 年 12 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by