How can I surface plot a 1000x2 matrix?
조회 수: 2 (최근 30일)
이전 댓글 표시
If we assume I have a 1000x2 matrix generated using:
A = randn(1000,2);
How can I surface plot that A matrix to achieve a result similar to this image:
댓글 수: 0
추가 답변 (1개)
Steven Lord
2021년 2월 26일
What does the data represent? X and Y coordinates of the points? If so where's the Z data?
Or do you have a long, thin sheet of paper and the data represents the height of points around the edges of that sheet?
x = [1 2 4 8; 0 3 3 9];
surf(x)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!