File: recursive.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (64 lines) | stat: -rw-r--r-- 2,235 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<HTML>
<HEAD>
<TITLE>Recursive filters</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<P><font size="+2" color="green">Recursive filters</font></P>

<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="15%" valign="top"><B>Syntax</B>:</TD>
<TD width="85%" valign="top"><CODE>
FILTER\RECURSIVE x f c d</CODE>
</TD></TR>
</table>
<P>
 If the <CODE>\RECURSIVE</CODE> qualifier is used, the
 third parameter, <CODE>c</CODE>, must be a vector,
 and the fourth parameter, <CODE>d</CODE>, must also
 be a vector. The data array, <CODE>x</CODE>, is
 processed through a recursive filter. This allows for the specification of a
 completely general recursive filter of arbitrary length. The values of
 <CODE>c</CODE> are the filter coefficients which
 operate on the data.  The values of <CODE>d</CODE>
 are the filter coefficients which operate on the previously made output.</P>
<P>
 <center><IMG SRC="img22.gif"></center></P>
<P>
 where <IMG SRC="N.gif"> is the length of vector
 <CODE>c</CODE> and <IMG SRC="M.gif"> is the length of vector <CODE>d</CODE>.</P>
<P>
 <font size="+1" color="green">Integrating recursive filters</font></P>
<P>
 The trapezoidal rule integration filter:</P>
<P>
 <center><IMG SRC="Gn1.gif"></center></P>
<P>
 The Leo Tick formula for integration:</P>
<P>
 <center><IMG SRC="Gn2.gif"></center></P>
<P>
 See Table 7 for the trapezoidal rule and the Leo Tick formula integrating recursive filter coefficients.</P>
<P>
 <b>Table 7:&nbsp;&nbsp; Integrating recursive filters</b>
 <table border="1">
 <tr>
 <td align="center"><em>type</em></td>
 <td align="center"><em>data coefficients</em></td>
 <td align="center"><em>output coefficients</em></td>
 </tr><tr>
  <td>Trapezoidal rule&nbsp;&nbsp;</td><td>&nbsp;[ 0.5; 0.5 ]&nbsp;</td><td>&nbsp;[ 1 ]&nbsp;</td>
 </tr><tr>
 <td>Leo Tick formula&nbsp;&nbsp;</td><td>&nbsp;[ 0.3584; 1.2832; 0.3584 ]&nbsp;</td>
 <td>&nbsp;[ 0; 1 ]&nbsp;</td>
 </tr>
 </table></P>
<P>
 <a href="nonrecursive.htm"><img src="../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Nonrecursive filters</font></a><br />
 <a href="examples.htm"><img src="../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">Examples</font></a>
</P>
</BODY>
</HTML>