File: intsplin.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-- 909 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 intsplin 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an
.SH NAME
intsplin - integration of experimental data by spline interpolation
.SH CALLING SEQUENCE
.nf
v = intsplin([x,] s)
.fi
.SH PARAMETERS
.TP 10
x
: vector of increasing x coordinate data. Default value is \fV1:size(y,'*')\fR
.TP
s
: vector of y coordinate data
.TP
v
: value of the integral
.SH DESCRIPTION
computes :
.IG
.nf
                      /x1
                     [
                 v = I  f(x)dx
                     ]
                    /x0
.fi
.FI
.LA $$ v = \int_{x_0}^{x_1} f(x)dx $$
Where f is a function described by a set of experimental value:
.IG
\fVs(i)=f(x(i))\fR  and \fVx0=x(1)\fR, \fVx1=x(n)\fR
.FI
.LA $$s(i)=f(x(i))$$ and $$x_0=x(1),x_1=x(n)$$
Between mesh points function is interpolated using spline's.
.SH EXAMPLE
.nf
t=0:0.1:%pi
intsplin(t,sin(t))
.fi
.SH SEE ALSO
intg, integrate, inttrap, splin