Member of the filter design class.
[b, a] = maxflat(m, n, w)
[b, a] = maxflat(m, 'sym', w)
[b, a, b1, b2] = maxflat(m, n, w)
[b, a, b1, b2] = maxflat(m, 'sym', w)
Designs a maximally flat (generalized Butterworth) digital filter.
| Name | Description |
| m | Specifies the order of the numerator. m is a positive integer. |
| n | Specifies the order of the denominator. n is a positive integer. |
| w | Specifies the cutoff frequency. w is a real number between 0 and 1. |
| 'sym' | Specifies a symmetric FIR Butterworth filter. If you specify 'sym', m must be an even number. |
| Name | Description |
| b | Returns the numerator of the filter under design. b is the forward filter coefficient of order m. b is a real vector. |
| a | Returns the denominator of the filter under design. a is the backward filter coefficient of order n. a is a real vector. |
| b1 | Contains all the zeros at -1. b = conv(b1, b2). |
| b2 | Contains all the other zeros. |
m = 8;
n = 6;
w = 0.6;
[b, a, b1, b2] = maxflat(m, n, w)