1
portr3d Scilab Group Scilab Function portr3d
3
portr3d - 3 dimensional phase portrait.
6
[]=portr3d(f,[odem,xdim,npts,pinit])
8
f : a Scilab external which gives the field of the dynamical system.
9
Hence it can be a macro name which computes the field at time t and
10
point x [y]=f(t,x,[u]) or a list list(f1,u1) where f1 is a macro of
11
type [y]=f1(t,x,u) or a character string
14
: The other parameters are optional. If omitted they will be asked
17
odem : gives the integration method to use. The value "default" can
18
be used, otherwise see ode for a complete set of possibilities
20
npts : a vector of size (2,10) [number-of-points,step] gives the
21
step for integration and the number of requested points. The
22
solution will be calculated and drawn for
23
time=0:step:(step*[number-of-points])
25
xdim : [xmin,xmax,ymin,ymax,zmin,zmax] the boundaries of the graphic
29
: initial values for integration. A set of initial points can be
32
pinit = [x0(1), x1(1),...., xn(1)
33
x0(2), x1(2),...., xn(2)
34
x0(3), x1(3),...., xn(3)].
36
Interactive integration and display of a 3 dimensional phase portrait of
37
a dynamical system dx/dt=f(t,x,[u]) (where u is an optional parameter )