フィルターのクリア

How to make rectangular meshgrid

14 ビュー (過去 30 日間)
Kaushal Kishore
Kaushal Kishore 2018 年 8 月 29 日
回答済み: Walter Roberson 2018 年 8 月 29 日
Hi i wanted to how can we create and plot a rectangular meshgrid. Thanks in advance

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 8 月 29 日
Example:
[X, Y] = meshgrid( linspace(-2,2), linspace(-pi, pi) );
Z = X/10 + X .* sin(Y);
surf(X, Y, Z, 'edgecolor', 'none');

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by