firopt
Calculates the optimal (in the Chebyshev/minimax sense) FIR filter impulse response
Arguments
- Integer order
- Integer number of bands in filter specification
- Vector user-specified band edges, size 2 * second argument'
- Vector user-specified band responses, size 2 * second argument'
- Vector user-specified tolerance, size second argument
- Integer type of filter, 0 = ORDINARY, 1 = DIFFERENTIATOR, 2 = HILBERT
- Real sampling rate
Output
Result vector
Examples