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ヘルプ >> Elementary Functions > elementarymatrices > meshgrid

meshgrid

行列または3次元配列を作成

呼び出し手順

[X, Y] = meshgrid(x)

[X, Y] = meshgrid(x,y)

[X, Y, Z] = meshgrid(x,y,z)

引数

x, y, z

ベクトル

X, Y, Z

入力引数が2個の場合は行列, 入力引数が3個の場合は3次元配列

説明

行列または3次元配列を作成します.

x = -1:0.1:1;
[X, Y] = meshgrid(x);
Z = sinc(2*%pi * X.*Y);
surf(X, Y, Z)

参照

  • ndgrid — build matrices or N-D arrays by replicating some template vectors
  • feval — 関数(または外部ルーチン)を評価する
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Feb 14 15:02:06 CET 2019