- Scilab Help
- Signal Processing
- Filters
- How to design an elliptic filter
- analpf
- buttmag
- casc
- cheb1mag
- cheb2mag
- ell1mag
- eqfir
- eqiir
- faurre
- ffilt
- filt_sinc
- filter
- find_freq
- frmag
- fsfirlin
- group
- hilbert
- iir
- iirgroup
- iirlp
- kalm
- lev
- levin
- lindquist
- remez
- remezb
- srfaur
- srkf
- sskf
- syredi
- system
- trans
- wfir
- wfir_gui
- wiener
- wigner
- window
- yulewalk
- zpbutt
- zpch1
- zpch2
- zpell
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
iir
iir digital filter
Syntax
hz=iir(n,ftype,fdesign,frq,delta) [p,z,g]=iir(n,ftype,fdesign,frq,delta)
Arguments
- n
positive number witn integer value, the filter order.
- ftype
string specifying the filter type, the possible values are:
'lp'
for low-pass,'hp'
for high pass,'bp'
for band pass and'sb'
for stop band.- fdesign
string specifying the analog filter design, the possible values are:
'butt'
,'cheb1'
,'cheb2'
and'ellip'
- frq
2-vector of discrete cut-off frequencies (i.e.,
0<frq<.5
). For'lp'
and'hp'
filters onlyfrq(1)
is used (in this case,frq
can be a scalar). For'bp'
and'sb'
filtersfrq(1)
is the upper cut-off frequency andfrq(2)
is the lower cut-off frequency.- delta
2-vector of error values for
cheb1
,cheb2
, andellip
filters where onlydelta(1)
is used forcheb1
case, onlydelta(2)
is used forcheb2
case, anddelta(1)
anddelta(2)
are both used forellip
case.0<delta(1),delta(2)<1
for
cheb1
filters1-delta(1)<ripple<1
in passbandfor
cheb2
filters0<ripple<delta(2)
in stopbandfor
ellip
filters1-delta(1)<ripple<1
in passband and0<ripple<delta(2)
in stopband
- hz
a single input single output discrete transfer function, the low pass filter
- p
vector of transformed filter poles.
- z
vector of transformed filter zeros.
- g
a scalar: transformed filter gain.
Description
function which designs an iir digital filter using analog filter designs and bilinear transformation .
Examples
See also
Report an issue | ||
<< hilbert | Filters | iirgroup >> |