Plot magnitude response of an FIR filter to MATLAB GUI
1 view (last 30 days)
Show older comments
I have an FIR filter and I would to plot it like what we have when we filter design tool (fvtool).
*My sample reference is Fs=44100 (audio signal). How can I plot my FIR response to handles.axes1 and get the same graphic presentation as shown in attached picture? I tried fft, it get the shape but that's it.
plot(handles.axes1,abs(fft(h));
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146923/image.png)
0 Comments
Answers (0)
See Also
Categories
Find more on Single-Rate Filters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!