how to draw the hyperboloid of one sheet?

조회 수: 11 (최근 30일)
jun
jun 2022년 9월 24일
답변: John D'Errico 2022년 9월 24일
Hyperboloid of one sheet x^2 + y^2 − z^2 = 1.
how to plot it in matlab?

답변 (1개)

John D'Errico
John D'Errico 2022년 9월 24일
help fimplicit3
FIMPLICIT3 Plot implicit surface FIMPLICIT3(FUN) plots the surface where FUN(X,Y,Z)==0 between the axes limits, with a default range of [-5 5]. FIMPLICIT3(FUN,LIMS) uses the given limits. LIMS can be [XYZMIN XYZMAX] with XYZMIN <= X <= XYZMAX, and XYMIN <= Y <= XYMAX, and XYMIN <= Z <= XYMAX, or [XMIN XMAX YMIN YMAX ZMIN ZMAX]. FIMPLICIT3(...,'LineSpec') plots with the given line specification, using the color for the surface. H = FIMPLICIT3(...) returns a handle to the function line object created by FIMPLICIT3. FIMPLICIT3(AX,...) plots into the axes AX instead of the current axes. Examples: fimplicit3(@(x,y,z) x.^2+y.^2+z.^2 - 9) fimplicit3(@(x,y,z) x.^2-y.^2-z.^2) fimplicit3(@(x,y,z) x.^2-y.^2.*z) fimplicit3(@(x,y,z) x.^2.*y.*z+y.^3-z.^3) fimplicit3(@flow, [-6, 0.25, -10, 10, -10, 10], 'MeshDensity',100) fimplicit3(@(x,y,z) 5*x.*(x.^2-5*y.^2)+z.^2.*(1+z)+2*x.*y+2*y.*z, ... [-1 1 -1 1 -1.5 0.5]) See also FIMPLICIT, FSURF, FPLOT, FCONTOUR, FUNCTION_HANDLE. Documentation for fimplicit3 doc fimplicit3 Other uses of fimplicit3 symbolic/fimplicit3

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by