remez                 package:signal                 R Documentation

_P_a_r_k_s-_M_c_C_l_e_l_l_a_n _o_p_t_i_m_a_l _F_I_R _f_i_l_t_e_r _d_e_s_i_g_n

_D_e_s_c_r_i_p_t_i_o_n:

     Parks-McClellan optimal FIR filter design.

_U_s_a_g_e:

     remez(n, f, a, w = rep(1.0, length(f) / 2),
           ftype = c('bandpass', 'differentiator', 'hilbert'),
           density = 16)

_A_r_g_u_m_e_n_t_s:

       n: order of the filter (1 less than the length of the filter) 

       f: frequency at the band edges in the range (0, 1), with 1 being
          the Nyquist frequency.

       a: amplitude at the band edges. 

       w: weighting applied to each band. 

   ftype: options are: 'bandpass', 'differentiator', and 'hilbert'. 

 density: determines how accurately the filter will be constructed. The
          minimum value is 16, but higher numbers are slower to
          compute.

_D_e_t_a_i_l_s:

_V_a_l_u_e:

     The FIR filter coefficients, an array of 'length(n+1)', of class
     'Ma'.

_A_u_t_h_o_r(_s):

     Original Octave version by Paul Kienzle. Conversion to R by Tom
     Short. It uses C routines developed by Jake Janovetz.

_R_e_f_e_r_e_n_c_e_s:

     Rabiner, L. R., McClellan, J. H., and Parks, T. W., "FIR Digital
     Filter Design Techniques Using Weighted Chebyshev Approximations,"
     IEEE Proceedings, vol. 63, pp. 595 - 610, 1975.

     <URL: http://en.wikipedia.org/wiki/Fir_filter> 

     Octave Forge <URL: http://octave.sf.net>

_S_e_e _A_l_s_o:

     'filter', 'Ma', 'fftfilt', 'fir1'

_E_x_a_m_p_l_e_s:

     f1 = remez(15, c(0,0.3,0.4,1), c(1,1,0,0))
     freqz(f1)

