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

« back to all changes in this revision

Viewing changes to man/graphics/eval3d.cat

  • 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
 
eval3d            Scilab Group            Scilab Function            eval3d
2
 
NAME
3
 
   eval3d - values of a function on a grid
4
 
  
5
 
CALLING SEQUENCE
6
 
 [z]=eval3d(fun,x,[y])
7
 
PARAMETERS
8
 
 fun             : function accepting vectors as arguments.
9
 
                 
10
 
 x,y             : 2 vectors of size (1,n1) and (1,n2). (default value for
11
 
                 y : y=x).
12
 
                 
13
 
 z               : matrix of size (n1,n2).
14
 
                 
15
 
DESCRIPTION
16
 
   This function returns a matrix z(n1,n2). z(i,j)=fun(x(i),y(j)).  If the
17
 
  function fun doesn't accept arguments of type vector use the primitive
18
 
  feval.
19
 
  
20
 
EXAMPLE
21
 
   x=-5:5;y=x;
22
 
   deff('[z]=f(x,y)',['z= x.*y']);
23
 
   z=eval3d(f,x,y);
24
 
   plot3d(x,y,z);
25
 
 // 
26
 
   deff('[z]=f(x,y)',['z= x*y']);
27
 
   z=feval(x,y,f);
28
 
   plot3d(x,y,z);
29
 
SEE ALSO
30
 
   feval
31
 
  
32
 
AUTHOR
33
 
   Steer S.   
34