sketch cone in matlab
4 ビュー (過去 30 日間)
古いコメントを表示
Sketch in MATLAB the 3D surface of the cone (z −1)^2 = x^2 + y^2
0 件のコメント
回答 (1 件)
KSSV
2022 年 8 月 31 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
