|
Contents | Previous | Next | Subchapters |
| Syntax |
fn2cbp(cutoff, numin, denin, numout, denout) |
| See Also | fnbut , fncheb , fn2dbp |
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.
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: