www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dfilt/@latticear/thisisreal.m

    function f = thisisreal(Hd)
%THISISREAL  True for filter with real coefficients.
%   THISISREAL(Hd) returns 1 if filter Hd has real coefficients, and 0
%   otherwise. 
%
%   See also DFILT.   
  
%   Author: Thomas A. Bryan
%   Copyright 1988-2002 The MathWorks, Inc.

% This should be private

f = isreal(Hd.Lattice);