Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -
Справка Scilab >> Графики > 3d_plot > eval3d

eval3d

values of a function on a grid => this function is obsolete

Syntax

[z]=eval3d(fun,x,[y])

Arguments

fun

function accepting vectors as arguments.

x,y

2 vectors of size (1,n1) and (1,n2). (default value for y : y=x).

z

matrix of size (n1,n2).

Description

This function is obsolete and will be removed in Scilab 6.1.

If fun(x,y) can process x and y matrices, please use the following replacements:

  • z = eval3d(fun,x) => X=ndgrid(x,x); z=fun(X,X')

  • z = eval3d(fun,x,y) => [X,Y]=ndgrid(x,y); z=fun(X,Y)

Otherwise, if fun(x,y) accepts only scalars x and y, please use feval as usual: z=feval(x,fun) or z=feval(x,y,fun).

Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:26 CET 2017