With the instruction "h = firpm(n, f, a);", can you give example to show ho to determine the parameters n,f &a?
2 次查看(过去 30 天)
显示 更早的评论
I have read the document about "firpm", but I am still not quite sure on how to determine its parameters, especially when having a signal.wav. Does n represents the order of the LP filter? How about f & a?
Thanks
0 个评论
回答(1 个)
Dimitris Kalogiros
2018-9-24
Help doc is clear enough.
The only point that maybe causes a confusion you is the "order" n.
So keep in mind that firpm(n, f, a) returns a FIR filter with n+1 taps.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!