how to draw the hyperboloid of one sheet?

17 次查看(过去 30 天)
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 中查找有关 Graphics Objects 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by