Skip to Main Content Skip to Search
Product Documentation

dfilt.dfasymfir - Discrete-time, direct-form antisymmetric FIR filter

Syntax

Hd=dfilt.dfasymfir(b)
Hd=dfilt.dfasymfir

Description

Hd = dfilt.dfasymfir(b) returns a discrete-time, direct-form, antisymmetric FIR filter, Hd, with numerator coefficients b.

Hd = dfilt.dfasymfir returns a default, discrete-time, direct-form, antisymmetric FIR filter, Hd, with b=1. This filter passes the input through to the output unchanged.

Diagram of an anti symmetric finite impulse response filter

The resulting filter states column vector for the odd number of coefficients example above is

Examples

Odd Order

Create a Type 4 25th order highpass direct-form antisymmetric FIR filter structure for a dfilt object, Hd, with the following code:

Num_coeffs = firpm(25,[0 .4 .5 1],[0 0 1 1],'h');
Hd = dfilt.dfasymfir(Num_coeffs);

Even Order

Create a 44th order lowpass direct-form antisymmetric FIR differentiator filter structure for a dfilt object, Hd, with the following code:

Num_coeffs = firpm(44,[0 .3 .4 1],[0 .2 0 0],'differentiator');
Hd = dfilt.dfasymfir(Num_coeffs);

See Also

dfilt | dfilt.dffir | dfilt.dffirt | dfilt.dfsymfir

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS