Scilab Function

remez - Remez's algorithm

Calling Sequence

[an]=remez(nc,fg,ds,wt)

Parameters

Description

minimax approximation of a frequency domain magnitude response. The approximation takes the form

 h = sum[a(n)*cos(wn)]
   

for n=0,1,...,nc. An FIR, linear-phase filter can be obtained from the the output of remez by using the following commands:

                 hn(1nc-1)=an(nc-12)/2;
                 hn(nc)=an(1);
                 hn(nc+12*nc-1)=an(2nc)/2;
   

where an = cosine filter coefficients

See Also