Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - Português

Change language to:
English - Français - 日本語 - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Ajuda Scilab >> Biblioteca de Gráficos > 3d_plot > eval3d

eval3d

valores de uma função em um grid

Seqüência de Chamamento

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

Parâmetros

fun

função que aceita vetores como argumentos

x,y

2 vetores de tamanhos (1,n1) e (1,n2). (valor padrão para y : y=x).

z

matriz de tamanho (n1,n2).

Descrição

Esta função retorna uma matriz z(n1,n2). z(i,j)=fun(x(i),y(j)). Se a função fun não aceitar argumentos do tipo vetor, use a primitiva feval.

Exemplos

x=-5:5;y=x;
deff('[z]=f(x,y)',['z= x.*y']);
z=eval3d(f,x,y);
plot3d(x,y,z);

deff('[z]=f(x,y)',['z= x*y']);
z=feval(x,y,f);
plot3d(x,y,z);

Ver Também

  • feval — múltipla avaliação
Report an issue
<< contour 3d_plot eval3dp >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:39:50 CEST 2012