Bump ---> Identification using invfreqs

조회 수: 2 (최근 30일)
Sheikh
Sheikh 2013년 8월 12일
Hello all,
I want to fit a model to the data peaks at around 70 Hz and 183 Hz. But for some reason can never fit the peak at 70 Hz.
tol = 1e-7;
frd = 2*pi*F; %frequency in rad/s
[numG,denG] = invfreqs(Txy,frd,15,17,[],1000,tol);
sys = tf(numG,denG);
figure; hold on; semilogx(frd,magdbTxy,'b');
bode(sys,frd,'r'); hold off;
Is there a way to specify which peaks I want to fit a model to?
Thanks a lot.

답변 (1개)

Rajiv Singh
Rajiv Singh 2013년 8월 12일
Have you tried using the weight input argument? You can specify higher weights for the frequencies around which you are interested in capturing the response.
See also: tfest and accompanying option set tfestOptions (option called "Focus" in particular). These functions belong to System Identification Toolbox.
  댓글 수: 1
Sheikh
Sheikh 2013년 8월 12일
Thanks Rajiv. I will try that and let you know how it goes.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Transfer Function Models에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by