How to plot the following surface
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
채택된 답변
추가 답변 (2개)
  Sam Chak
      
      
 2022년 6월 10일
        Sometimes I have troubles visualizing the geometry. Can I plot like this? It should look like an inverted cone.
x = linspace(-sqrt(2), sqrt(2), 41);
y = x;
[X, Y] = meshgrid(x, y);
Z = sqrt(X.^2 + Y.^2) + 1;
surf(X, Y, Z)

댓글 수: 4
  Sam Chak
      
      
 2022년 6월 10일
				Don't mention it. Aha... now I remember. You are the one who asked how to draw a Cylindrical structure inside a Dome. It's a good learning experience.
참고 항목
카테고리
				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!











