help with contour plot
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi!
I am trying to plot a contour but it says that the matrix domensions does not agree, anyone who knows why?
The equation and the demands are:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/288519/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/288520/image.png)
And my code is:
(The picture above my code is what it is supposed to look like)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/288521/image.png)
댓글 수: 0
채택된 답변
Walter Roberson
2020년 4월 29일
Your Z needs to be defined in terms of X and Y, not in terms of x and y.
추가 답변 (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!