필터 지우기
필터 지우기

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 CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by