sketch cone in matlab

Réponses (1)

KSSV
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) ;

Catégories

Produits

Version

R2022a

Question posée :

le 31 Août 2022

Réponse apportée :

le 31 Août 2022

Community Treasure Hunt

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

Start Hunting!

Translated by