| Signal Processing Toolbox | ![]() |
Open the Filter Visualization Tool
Syntax
fvtool(b,a)
Description
fvtool(b,a)
opens the Filter Visualization Tool (FVTool) and computes the magnitude response of the filter defined with numerator, b and denominator, a. Using FVTool you can display the phase response, group delay, impulse response, step response, pole-zero plot, and coefficients of the filter.
fvtool(b1,a1,b2,a2,...bn,an) opens FVTool and computes the magnitude responses of multiple filters defined with numerators, b1...bn and denominators, a1...an.
Note
In fdatool, selecting Full View Analysis from the Analysis menu launches FVTool.
|
Note
If you have the Filter Design Toolbox installed, you can use fvtool on quantized filter objects by using fvtool(Hq,Hq1).
|
Example 1
Display the magnitude response of an elliptic filter.
[b,a]=ellip(6,3,50,300/500); fvtool(b,a);
Example 2
Display and analyze multiple FIR filters.
n = 20; % Filter order f = [0 0.4 0.5 1]; % Frequency band edges a = [1 1 0 0]; % Desired amplitudes b = remez(n,f,a); b2 = remez(n*2,f,a); % Double the filter order fvtool(b,1,b2,1);
See Also
| freqzplot | gauspuls | ![]() |