Scilab 6.0.1
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.
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)
.
Report an issue | ||
<< contour | 3d_plot | eval3dp >> |