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