Contents | Previous | Next | Subchapters |

Syntax |
`fn2dbp(` cutoff`, ` dt`, ` numin`, ` denin`, ` numout`, ` denout`)` |

See Also | fnbut , fncheb , fn2cbp |

Converts a normalized filter to a digital bandpass filter. The real or double-precision row vector

The input values of

The response of the normalized filter is

2

|*numin*[*s*]|

|--------|

|*denin*[*s*]|

and it is near 1 for
*s*

in the interval

__

[0, \/-1]

and near 0 for the rest of the
positive imaginary axis.
The response of the digital bandpass filter is

| __ |2

| *numout*[ exp( \/-1 *dt* *w* ) ] |

-------------------------------

| __ |2

| *denout*[ exp( \/-1 *dt* *w* ) ] |

and it is near
1 for *w*

in the interval
`[`*cutoff*(1), *cutoff*(2)]

and near 0 for other `[0, `*pi* / *dt*]

.
```
```

numin = 1.

denin = {1., sqrt(2.), 1.}

cutoff = [2., 4.]

dt = .2

numout = novalue

denout = novalue

fn2dbp(cutoff, dt, numin, denin, numout, denout)

ymin = 1e-5

ymax = 1e+1

fdplot(dt, ymin, ymax, cutoff, numout, denout)

returns the following plot: