How to plot the following surface
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
How to plot the following surface:
Which type of parametrization is required to plot it... please give me a code
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (2)
Sam Chak
am 10 Jun. 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 Kommentare
Sam Chak
am 10 Jun. 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.
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!