Contents Previous Next Subchapters Current Chapters-> fourier kalman_bucy filter mlmode_filter arcov fspec dpss wavelet iwavelet fnbut fncheb fnbpole fncpole fn2cbp fn2clp fc2dig fn2dbp fn2dlp Parent Chapters-> Omatrix6 filtering fn2cbp Search Tools-> contents reference index search

Converting From A Normalized To Continuous Bandpass Filter
 Syntax `fn2cbp(`cutoff`, `numin`, `denin`, `numout`, `denout`)` See Also fnbut , fncheb , fn2dbp

Description
Converts a normalized filter to a continuous bandpass filter. The real or double-precision row vector cutoff has two elements and specifies the cutoff frequencies for the bandpass filter. The column vector numin has the same type as cutoff and specifies the numerator polynomial for the normalized filter. The column vector denin has the same type as cutoff and specifies the denominator polynomial for the normalized filter. ``` ```The input values of numout and denout have no effect. The output value numout is set to the column vector representing the numerator polynomial for the continuous bandpass filter. The output value denout is set to the column vector representing the denominator polynomial for the continuous bandpass filter. The output values of numout and denout have the same type as cutoff. ``` ```The response of a continuous filter is ```              2      |num[s]|      |------|      |den[s]| ```where `num[s]` is the numerator polynomial and `den[s]` is the denominator polynomial corresponding to the filter. The response of a normalized filter 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 continuous bandpass filter is near 1 for `s` in the interval ```         __              __      [\/-1 cutoff(1), \/-1 cutoff(2)] ```and near 0 for the rest of the positive imaginary axis.

Example ```      numin = 1.      denin = {1., sqrt(2.), 1.}      numout = novalue      denout = novalue      cutoff = [1., 2.]      fn2cbp(cutoff, numin, denin, numout, denout)            xmin = 1e-1      xmax = 1e+1      ymin = 1e-5      ymax = 1e+1      fcplot(xmin, xmax, ymin, ymax, cutoff, numout, denout)       ``` returns the following plot: ``` ```