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

    function hF = createhdlfilter(this)
%CREATHDLFILTER <short description>
%   OUT = CREATHDLFILTER(ARGS) <long description>

%   Copyright 2007 The MathWorks, Inc.

hF = hdlfilter.scalar;
this.sethdl_abstractfilter(hF);
hF.Gain = this.Gain;
[hF.RoundMode, hF.OverflowMode] = conv2hdlroundoverflow(this);
hF.CoeffSLType = conv2sltype(this.filterquantizer, 'CoeffWordLength', 'CoeffFracLength');
% [EOF]