SPUC::remez_fir Class Reference
[SPUC non-template classesFIR filters]

template Remez_fir class More...

#include <remez_fir.h>

List of all members.

Public Member Functions

 remez_fir ()

Static Public Member Functions

static void remez (smart_array< float_type > filt, int n, int numband, smart_array< float_type > bands, smart_array< float_type > des, smart_array< float_type > weight, int type)


Detailed Description

template Remez_fir class

Calculates the optimal (in the Chebyshev/minimax sense) FIR filter impulse response given a set of band edges, the desired reponse on those bands, and the weight given to the error in those bands.

Inputs:

int numtaps - Number of filter coefficients

int numband - Number of bands in filter specification

float_type[] bands - User-specified band edges [2 * numband]

float_type[] des - User-specified band responses [numband]

float_type[] weight - User-specified error weights [numband]

int type - Type of filter

Output:

float_type[] h - Impulse response of final filter [numtaps]

Author:
Tony Kirke


Constructor & Destructor Documentation

SPUC::remez_fir::remez_fir (  )  [inline]


Member Function Documentation

void SPUC::remez_fir::remez ( smart_array< float_type filt,
int  n,
int  numband,
smart_array< float_type bands,
smart_array< float_type des,
smart_array< float_type weight,
int  type 
) [static]


The documentation for this class was generated from the following files:
Generated on Mon Jun 9 19:40:52 2008 for DSPTemplates by  doxygen 1.4.7