File: ffilt.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 (37 lines) | stat: -rw-r--r-- 952 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

ffilt(1)                       Scilab Function                       ffilt(1)
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 speci-
  fied 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.