필터 지우기
필터 지우기

I want to sketch one sheeted hyperboloid x^2-y^2+z^2=1 using meshgrid of MATLAB

조회 수: 3 (최근 30일)
수정 이
수정 이 2020년 9월 16일
답변: KSSV 2020년 9월 16일
my code looks like this.
u=linspace(-10,10,50);
v=linspace(0,2*pi,50);
[u,v]=meshgrid(u,v);
x=cosh(u).*cos(v);
y=sinh(u);
z=cosh(u).*sin(v)
surf(x,y,z)
but it looks like this. What should I fix?

답변 (1개)

KSSV
KSSV 2020년 9월 16일

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by