Why is the scaling of high pass filters in FVTOOL not displaying the whole response?

Y
yun-hun-jmai · Mar 22, 2021 · 1.8K views
Question
I perform the following code for a low pass filter and the response shown in FVTOOL displays a large range for the filter.     [a b] = butter(2, 0.01, 'low'); fvtool(a, b); However, when I use FVTOOL for a high pass filter, the range in the y-axis is much shorter. [a b] = butter(2, 0.1, 'high'); fvtool(a, b);
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Aug 30, 2026
FVTool auto-scales graphs and forces tighter limits for filters based on their shape. You can use any one of the following workarounds to see the full plot:
 
1. Click on the View menu option and select 'Full View'.
2. Manually setting the axis to have a larger range.
3. Use the following code to automatically display a larger range for the filter:
[a b] = butter(2, 0.1, 'high');

[h,w]=freqz(a,b);

h=10*log(abs(h));

w=w/max(w);

plot(w,h);
100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!