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

« back to all changes in this revision

Viewing changes to man/signal/%sn.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 %sn 1 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an
3
 
.SH NAME
4
 
%sn - Jacobi 's elliptic function
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
[y]=%sn(x,m)
8
 
.fi
9
 
.SH PARAMETERS
10
 
.TP
11
 
x
12
 
: a point inside the fundamental rectangle  defined by the elliptic integral;
13
 
\fVx\fR is a vector of complex numbers
14
 
.TP
15
 
m
16
 
: parameter of the elliptic integral (\fV0<m<1\fR)
17
 
.TP
18
 
y
19
 
: result
20
 
.SH DESCRIPTION
21
 
Jacobi 's sn elliptic function with parameter \fVm\fR: the inverse 
22
 
of the elliptic integral for the parameter \fVm\fR.
23
 
.LP
24
 
The amplitude am is computed in fortran and 
25
 
the addition formulas for elliptic functions are applied
26
 
.SH EXAMPLE
27
 
.nf
28
 
m=0.36;
29
 
K=%k(m);
30
 
P=4*K; //Real period
31
 
real_val=0:(P/50):P;
32
 
plot(real_val,real(%sn(real_val,m)))
33
 
xbasc();
34
 
KK=%k(1-m);
35
 
Ip=2*KK;
36
 
ima_val1=0:(Ip/50):KK-0.001;
37
 
ima_val2=(KK+0.05):(Ip/25):(Ip+KK);
38
 
z1=%sn(%i*ima_val1,m);z2=%sn(%i*ima_val2,m);
39
 
plot2d([ima_val1',ima_val2'],[imag(z1)',imag(z2)']);
40
 
xgrid(3)
41
 
.fi
42
 
.SH SEE ALSO
43
 
%asn, %k
44
 
.SH AUTHOR
45
 
F. D.