www.gusucode.com > signal 案例源码程序 matlab代码 > signal/FVToolFigureHandleCommandsExample.m

    %% FVTool Figure Handle Commands
% Start FVTool from the command line. Display the magnitude response of a
% 6th-order elliptic filter. Specify a passband ripple of 3 dB, a stopband
% attenuation of 50 dB, a sample rate of 1 kHz, and a normalized passband
% edge of 300 Hz.

%%

[b,a] = ellip(6,3,50,300/500);
h = fvtool(b,a);

%%
% Display the phase response of the filter.

h.Analysis = 'phase';

%%
% Turn on the plot legend and add text.

legend(h,'Phase plot')

%%
% View the all the properties of the plot. The properties specific to
% FVTool are at the end of the list.

get(h)