sketch cone in matlab
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sketch in MATLAB the 3D surface of the cone (z −1)^2 = x^2 + y^2
0 commentaires
Réponses (1)
KSSV
le 31 Août 2022
t = linspace(0,2*pi,50) ;
r = linspace(0,3,50) ;
[th r] = meshgrid(t,r) ;
x = r.*cos(th) ;
y = r.*sin(th) ;
z = r ;
surf(x,y,z) ;
0 commentaires
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
