![]() |
| Janela inicial |
iir
iir digital filter
Calling Sequence
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). For 'lp'and'hp'filters onlyfrq(1)is used (in this case,frqcan 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, andellipfilters where onlydelta(1)is used forcheb1case, onlydelta(2)is used forcheb2case, anddelta(1)anddelta(2)are both used forellipcase.0-
for
cheb1filters1-delta(1)in passband -
for
cheb2filters0in stopband -
for
ellipfilters1-delta(1)in passband and 0in stopband
-
- hz: a single input single output discrete transfer function, the low pass filter
- p: vector of transformed filter zeros.
- z: vector of transformed filter poles.
- g: a scalar: transformed filter gain.
uicontrol
create a Graphic User Interface object
Calling Sequence
h = uicontrol(PropertyName,PropertyValue,...)
h = uicontrol(parent,PropertyName,PropertyValue,...)
h = uicontrol(uich)
Exemplo de saída:
Obs: o script completo tem mais de 300 linhas de código e não será incluído nesta postagem, mas pode ser solicitado por e-mail.



Nenhum comentário:
Postar um comentário