Revision 16,
910 bytes
checked in by marcus, 15 years ago
(diff) |
r1 | svn | 2007-12-13 11:10:29 +0100 (Do, 13 Dez 2007) | 2 lines
Initial import
|
Line | |
---|
1 | command DERIVE <trc-list> <algorithm> |
---|
2 | ============== |
---|
3 | |
---|
4 | key: compute derivative |
---|
5 | |
---|
6 | Computes derivatives of all traces given by <trc-list>. The |
---|
7 | input traces remain unchanged. The DERIVE command creates |
---|
8 | new traces containing the derivatives. |
---|
9 | |
---|
10 | |
---|
11 | parameters |
---|
12 | |
---|
13 | <trc-list> --- parameter type: trace list |
---|
14 | List of traces to be derived. These traces remain unchanged. |
---|
15 | |
---|
16 | <algorithm> --- parameter type: integer |
---|
17 | ID of algorithm used to compute derivative. Valid vales are |
---|
18 | 1 to 5. The algorithms are listed below (h is sample distance): |
---|
19 | 1: y'[i] = 1/(2h) (-y[i-1] + y[i+1]) |
---|
20 | 2: y'[i] = 1/(12h) (y[i-2] - 8y[i-1] + 8y[i+1] - y[i+2]) |
---|
21 | 3: y'[i] = 1/h (-y[i] + y[i+1]) |
---|
22 | 4: y'[i] = 1/(2h) (-3y[i] + 4y[i+1] - y[i+2]) |
---|
23 | 5: y'[i] = 1/(12h) (-3y[i-1]-10y[i]+18y[i+1]-6y[i+2]+y[i+3]) |
---|
24 | |
---|
25 | |
---|
26 | Example: |
---|
27 | |
---|
28 | DERIVE 1-3 3 ! computes derivative of traces 1-3 by algorithm |
---|
29 | ! number 3 |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.