How to plot the following surface
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Atom
el 10 de Jun. de 2022
Comentada: Sam Chak
el 10 de Jun. de 2022
How to plot the following surface: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1027420/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1027420/image.png)
Which type of parametrization is required to plot it... please give me a code
0 comentarios
Respuesta aceptada
Más respuestas (2)
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1027495/image.png)
4 comentarios
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.
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!