How to plot the following surface
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Più risposte (2)
Sam Chak
il 10 Giu 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 Commenti
Sam Chak
il 10 Giu 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.
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!