how to draw the hyperboloid of one sheet?

18 views (last 30 days)
jun on 24 Sep 2022
Answered: John D'Errico on 24 Sep 2022
Hyperboloid of one sheet x^2 + y^2 − z^2 = 1.
how to plot it in matlab?

Answers (1)

John D'Errico
John D'Errico on 24 Sep 2022
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

Community Treasure Hunt

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

Start Hunting!

Translated by