Hi i wanted to how can we create and plot a rectangular meshgrid. Thanks in advance

답변 (1개)

Walter Roberson
Walter Roberson 2018년 8월 29일

1 개 추천

Example:
[X, Y] = meshgrid( linspace(-2,2), linspace(-pi, pi) );
Z = X/10 + X .* sin(Y);
surf(X, Y, Z, 'edgecolor', 'none');

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

질문:

2018년 8월 29일

답변:

2018년 8월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by