how to get a contour from a matrix that its values varies between zero and one?
조회 수: 2 (최근 30일)
이전 댓글 표시
assume we have a random 10×10 two dimensional matrix that its values are between zero and one. how can I obtain a 2D contour from it?
댓글 수: 0
답변 (1개)
Star Strider
2019년 10월 25일
Try this:
M = rand(10);
figure
contour(M)
figure
contourf(M)
Experiment to get the result you want.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Contour Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!