How to draw a cylindrical panel using matlab
古いコメントを表示
I would like to draw a cylindrical panel using matlab code. please help.
4 件のコメント
darova
2021 年 3 月 29 日
Do you have any attempts? What is the problem?
Twinkle C M
2021 年 3 月 29 日
編集済み: Adam Danz
2021 年 3 月 29 日
@Twinkle C M I formatted your code using the text-code toggle; please format your code in the future to increase your chances that people will want to read the question/comment.
I also added a semicolon in this line so the command window isn't flooded with outputs: z(i,j)=z(i,j); & z = repmat...
Adam Danz
2021 年 3 月 29 日
If you add
axis equal
view(30,15)
and change the surf command to
surf(x,y,z, 'faceColor', 'flat','LineStyle', 'none');
you get close to what you want. You may need to increase the width (z).
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!