~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/elementary/interpln.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH interpln 1 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
interpln - linear interpolation
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
[y]=interpln(xyd,x)  
8
 
.fi
9
 
.SH PARAMETERS
10
 
.TP 10
11
 
xyd
12
 
: 2 row matrix (xy coordinates of points)
13
 
.TP 10
14
 
x
15
 
: vector (abscissae)
16
 
.TP 10
17
 
y
18
 
: vector (y-axis values)
19
 
.SH DESCRIPTION
20
 
given \fVxyd\fR a set of points in the xy-plane  which increasing abscissae and \fVx\fR a set of abscissae, this function computes \fVy\fR the corresponding
21
 
y-axis values by linear interpolation.
22
 
.SH EXAMPLE
23
 
.nf
24
 
x=[1 10 20 30 40];
25
 
y=[1 30 -10 20 40];
26
 
plot2d(x',y',[-3],"011"," ",[-10,-40,50,50]);
27
 
yi=interpln([x;y],-4:45);
28
 
plot2d((-4:45)',yi',[3],"000");
29
 
.fi
30
 
.SH SEE ALSO
31
 
splin, interp, smooth
32
 
 
33