FUNCTION REFERENCE
dfilt.df1
Create a direct-form I digital filter from its coefficients.
Create a direct-form I digital filter from its coefficients.
Syntax
H = dfilt.df1(b,a)Supply the numerator b and denominator a as nonempty, finite real vectors. The first denominator coefficient must be nonzero. Use filter(H,x) to apply the filter or freqz(H,w) to evaluate its frequency response.
Example
H = dfilt.df1([1 2],1); filter(H,[1 0 0]) % [1 2 0]Differences from MATLAB: Both coefficient vectors are required.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.