www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dfilt/@farrowfd/set_coefficients.m
function c = set_coefficients(this, c) %SET_COEFFICIENTS PreSet function for the 'coefficients' property. % Author(s): V. Pellissier % Copyright 2005-2006 The MathWorks, Inc. if size(c,2)<2, error(message('signal:dfilt:farrowfd:set_coefficients:InvalidCoefficients')); end % Polynomes stored in rows this.ncoeffs = size(c,1); reset(this); this.refcoeffs = c; % Quantize the coefficients quantizecoeffs(this); c = []; % [EOF]