Plotting waves in 2d
조회 수: 3 (최근 30일)
이전 댓글 표시
답변 (1개)
Robert
2016년 4월 25일
Your call to surf only references a and is not affected by your second wave in b. Maybe you meant to use something like
surf(X,Y,a+b);
You appear to be calling contour correctly, but if you don't like the result, you could consider specifying the levels yourself using the fourth input. See
doc contour
for details.
댓글 수: 3
Robert
2016년 4월 26일
If this answered your question, please consider accepting the answer using the blue "Accept this Answer" button above. Thanks!
참고 항목
카테고리
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!