File: remez.man

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 (44 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (2)
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
.TH REMEZ G "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
remez - Remez's algorithm
.SH CALLING SEQUENCE
.nf
[an]=remez(nc,fg,ds,wt)
.fi
.SH PARAMETERS
.TP
nc
: integer, number of cosine functions
.TP
fg,ds,wt
: real vectors
.TP
fg
: grid of frequency points in [0,.5)
.TP
ds
: desired magnitude on grid \fVfg\fR
.TP
wt
: weighting function on error on grid \fVfg\fR
.SH DESCRIPTION
minimax approximation of a frequency domain magnitude response.
The approximation takes the form
.nf
 h = sum[a(n)*cos(wn)]
.fi
for n=0,1,...,nc. An FIR, linear-phase filter
can be obtained from the the output of \fVremez\fR by using the
following commands:
.nf
                 hn(1nc-1)=an(nc-12)/2;
                 hn(nc)=an(1);
                 hn(nc+12*nc-1)=an(2nc)/2;
.fi
where \fVan\fR = cosine filter coefficients
.SH SEE ALSO
remezb