File: ffilt.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (35 lines) | stat: -rw-r--r-- 1,081 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
ffilt            Scilab Group            Scilab Function              ffilt
NAME
   ffilt - coefficients of FIR low-pass
  
CALLING SEQUENCE
 [x]=ffilt(ft,n,fl,fh)
PARAMETERS
 ft         : filter type where ft can take the values
            
           "lp"  : for low-pass filter
                 
           "hp"  : for high-pass filter
                 
           "bp"  : for band-pass filter
                 
           "sb"  : for stop-band filter
                 
 n          : integer (number of filter samples desired)
            
 fl         : real (low frequency cut-off)
            
 fh         : real (high frequency cut-off)
            
 x          : vector of filter coefficients
            
DESCRIPTION
   Get n coefficients of a FIR low-pass, high-pass, band-pass, or stop-band
  filter. For low and high-pass filters one cut-off frequency must be
  specified whose value is given in fl. For band-pass and stop-band filters
  two cut-off frequencies must be specified for which the lower value is in
  fl and the higher value is in fh
  
AUTHOR
   C. B.