www.gusucode.com > sigtools 工具箱matlab源码程序 > sigtools/+fmethod/@butterbpmin/getexamples.m

    function examples = getexamples(this)
%GETEXAMPLES   Get the examples.

%   Copyright 1999-2015 The MathWorks, Inc.

examples = {{ ...
    'Compare passband and stopband MatchExactly.', ...
    'h     = fdesign.bandpass(''Fst1,Fp1,Fp2,Fst2,Ast1,Ap,Ast2'');', ...
    'Hd    = design(h, ''butter'', ''MatchExactly'', ''passband'');', ...
    'Hd(2) = design(h, ''butter'', ''MatchExactly'', ''stopband'');', ...
    '', ...
    '% Compare the passband edges in FVTool.', ...
    'fvtool(Hd);', ...
    'axis([.44 .56 -2 0]);'}};

% [EOF]