File: eqiir.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (45 lines) | stat: -rw-r--r-- 1,195 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

eqiir(1)                       Scilab Function                       eqiir(1)
NAME
  eqiir - Design of iir filters

CALLING SEQUENCE
  [cells,fact,zzeros,zpoles]=eqiir(ftype,approx,om,deltap,deltas)

PARAMETERS

  ftype     : filter type ('lp','hp','sb','bp')

  approx    : design approximation ('butt','cheb1','cheb2','ellip')

  om        : 4-vector of cutoff frequencies (in radians)
             om=[om1,om2,om3,om4], 0 <= om1 <= om2 <= om3 <= om4 <= pi.
             When ftype='lp' or 'hp', om3 and om4 are not used
             and may be set to 0.

  deltap    : ripple in the passband. 0<= deltap <=1

  deltas    : ripple in the stopband. 0<= deltas <=1

  cells     : realization of the filter as second order cells

  fact      : normalization constant

  zzeros    : zeros in the z-domain

  zpoles    : poles in the z-domain

DESCRIPTION
  Design of iir filter interface with eqiir (syredi)

  The filter obtained is h(z)=fact*product of the elements of cells.

  That is hz=fact*prod(cells(2))./prod(cells(3))

EXAMPLE
  [cells,fact,zzeros,zpoles]=...
  eqiir('lp','ellip',[2*%pi/10,4*%pi/10],0.02,0.001)
  transfer=fact*poly(zzeros,'z')/poly(zpoles,'z')

SEE ALSO
  eqfir, iir