firoptord

Calculates the estimated order of the FIR filter impulse response

Arguments

  1. Integer number of bands in filter specification
  2. Vector user-specified band edges, size 2 * second argument'
  3. Vector user-specified band responses, size 2 * second argument'
  4. Vector user-specified tolerance, size second argument
  5. Real sampling rate

Output

Result vector

Examples

firoptord