~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/signal/eqiir.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
eqiir            Scilab Group            Scilab Function              eqiir
 
2
NAME
 
3
   eqiir - Design of iir filters
 
4
  
 
5
CALLING SEQUENCE
 
6
 [cells,fact,zzeros,zpoles]=eqiir(ftype,approx,om,deltap,deltas)
 
7
PARAMETERS
 
8
 ftype      : filter type ('lp','hp','sb','bp')
 
9
            
 
10
 approx     : design approximation ('butt','cheb1','cheb2','ellip')
 
11
            
 
12
 om         : 4-vector of cutoff frequencies (in radians) 
 
13
            om=[om1,om2,om3,om4], 0 <= om1 <= om2 <= om3 <= om4 <= pi. 
 
14
            When ftype='lp' or 'hp', om3 and om4 are not used  and may be
 
15
            set to 0.
 
16
            
 
17
 deltap     : ripple in the passband. 0<= deltap <=1
 
18
            
 
19
 deltas     : ripple in the stopband. 0<= deltas <=1
 
20
            
 
21
 cells      : realization of the filter as second order cells
 
22
            
 
23
 fact       : normalization constant
 
24
            
 
25
 zzeros     : zeros in the z-domain
 
26
            
 
27
 zpoles     : poles in the z-domain
 
28
            
 
29
DESCRIPTION
 
30
   Design of iir filter interface with eqiir (syredi)
 
31
  
 
32
   The filter obtained is h(z)=fact*product of the elements of cells.
 
33
  
 
34
   That is hz=fact*prod(cells(2))./prod(cells(3))
 
35
  
 
36
EXAMPLE
 
37
 [cells,fact,zzeros,zpoles]=...
 
38
 eqiir('lp','ellip',[2*%pi/10,4*%pi/10],0.02,0.001)
 
39
 transfer=fact*poly(zzeros,'z')/poly(zpoles,'z')
 
40
SEE ALSO
 
41
   eqfir, iir 
 
42