How to draw 2D object with plot 3D matlab

2 views (last 30 days)
How to draw 2D object with plot 3D matlab
I have 2 circle and 2 radius ( a and b )and height (h) between two circle.
draw this 2D figure to 3D figure with plot or surf

Accepted Answer

Matt J
Matt J on 15 Apr 2021
Edited: Matt J on 15 Apr 2021
The command cylinder() will be helpful. This example in particular,
  6 Comments
Moufid Meddeb
Moufid Meddeb on 16 Apr 2021
how u do this , i have two radius and two circle ??
Matt J
Matt J on 16 Apr 2021
As I said, the example at the link I gave you is very similar to what you are trying to do.

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!