how to plot phase graph for given optimised coefficient of second order
显示 更早的评论
b = [0.9999 0.9837 -0.2876];
a = [ 0.9896 -0.2869];
the coefficients are given as above
回答(1 个)
Star Strider
2017-3-19
You did not provide a sampling frequency, so I assume this is a continuous-time transfer function.
One option is to use the Signal Processing Toolbox freqs function. (Use the freqz function with a sampling frequency for a discrete system. See the documentation on the various functions for details.)
The Code_ —
b = [0.9999 0.9837 -0.2876];
a = [ 0.9896 -0.2869];
figure(1)
freqs(b, a, 2^14)
类别
在 帮助中心 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!