www.gusucode.com > signal 工具箱matlab源码程序 > signal/@filtstates/@cic/int.m

    function intvalue = int(this)
%INT   Return the integer.

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

% Loop over each channel.
validate(this);

[nsections nchannels] = size(this.Integrator);

intvalue = {};

for indx = 1:nchannels
    for jndx = 1:nsections
        intvalue{end+1} = [int(this.Integrator(jndx, indx)); ...
            int(this.Comb(jndx, indx))];
    end
end

% Line up the channels in a row.
intvalue = [intvalue{:}];

% [EOF]