How to make rectangular meshgrid
이전 댓글 표시
Hi i wanted to how can we create and plot a rectangular meshgrid. Thanks in advance
답변 (1개)
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');
카테고리
도움말 센터 및 File Exchange에서 MATLAB Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!