New to DSP. fvtool output different to parameters of filter exported from filter designer
1 次查看(过去 30 天)
显示 更早的评论
Hi,
Im probably missing something obvious here. I've created a LPF using the filter designer as pictured and run the following code;
fvtool(HdL)
fvtool(HdL,'Analysis','impulse')
fvtool(HdL,'Analysis','freq')
Could anyone please explain the difference between the fvtool output and the filter designed and/or what I've done wrong?
Many Thanks
0 个评论
回答(1 个)
Nipun Katyal
2020-7-16
Hi,
In order to visualize the frequency range for your filter you need to set the sampling frequency, otherwise it will use the default value of sampling frequency for fvtool, You can change the sampling frequency under the Analysis menu. In the drop down menu you will find Sampling frequency at the bottom. The defualt value is 1, you can change it to 48000 in your case and the frequency will be adjusted accordingly.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Filter Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!