Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - 日本語

Change language to:
English - Français - Português - Русский

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.

Scilab help >> Graphics > 3d_plot > eval3d

eval3d

グリッド上の関数の値

呼び出し手順

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

パラメータ

fun

引数にベクトルをとる関数.

x,y

大きさ (1,n1) および (1,n2)のベクトル. ( y のデフォルト値: y=x).

z

大きさ (n1,n2)の行列.

説明

この関数は行列z(n1,n2)を返します. z(i,j)=fun(x(i),y(j)). 関数 fun がベクトル型の引数を受け付けない場合は, プリミティブfevalを使用してください.

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);

参照

  • feval — 関数(または外部ルーチン)を評価する
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:40:33 CEST 2012