在MATLAB信号处理工具箱中,给出了一个辨识系统传递函数模型的函数invfreqs(),该函数的调用格式是
[B,A]=invfreqs(H,W,n,m)
其中W为由离散频率点构成的向量,n和m为待辨识系统的分子和分母阶次,H为为复数向量,其实部和虚部为辨识时用到的实部和虚部。返回的B和A分别为辨识出的传递函数的分子和分母的系数向量。
通过A和B可得到传递函数
函数invfreqs()的Matlab解释:
》》 help invfreqs
INVFREQS Analog filter least squares fit to frequency response data.
[B,A] = INVFREQS(H,W,nb,na) gives real numerator and denominator coefficients B and A of orders nb and na respectively, where H is the desired complex frequency response of the system at frequency points W, and W contains the frequency values in radians/s.
INVFREQS yields a filter with real coefficients. This means that it is sufficient to specify positive frequencies only; the filter fits the data conj(H) at -W, ensuring the proper frequency domain symmetry for a real filter.
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
全部0条评论
快来发表一下你的评论吧 !