Borrar filtros
Borrar filtros

How to plot the following surface

2 visualizaciones (últimos 30 días)
Atom
Atom el 10 de Jun. de 2022
Comentada: Sam Chak el 10 de Jun. de 2022
How to plot the following surface:
Which type of parametrization is required to plot it... please give me a code

Respuesta aceptada

Matt J
Matt J el 10 de Jun. de 2022
fsurf(@(x,y) sqrt(x.^2+y.^2)+1, [-3 3 -3 3] )
zlim([1,3])
  1 comentario
Atom
Atom el 10 de Jun. de 2022
Editada: Atom el 10 de Jun. de 2022
Would you please show the axes in such a way that the intersect at the vertex (0,0,1) of the inverted cone z-axis vertical along verted upward?

Iniciar sesión para comentar.

Más respuestas (2)

Matt J
Matt J el 10 de Jun. de 2022
Editada: Matt J el 10 de Jun. de 2022
fimplicit3(@(x,y,z) (z-1).^2-x.^2-y.^2, [-3 3 -3 3 1 3] )

Sam Chak
Sam Chak el 10 de Jun. de 2022
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 comentarios
Atom
Atom el 10 de Jun. de 2022
Nice .. thanks a lot
Sam Chak
Sam Chak el 10 de Jun. de 2022
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by