www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtdes/@freqmagweight/nbands.m

    function n = nbands(h, d)
%NBANDS Returns the number of bands

%   Author(s): J. Schickler
%   Copyright 1988-2003 The MathWorks, Inc.

n = length(d.FrequencyVector)/2;

% [EOF]