Bump ---> Identification using invfreqs
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Model Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!