How to plot a sector of a circle in matlab if you only have the angle of that sector

3 views (last 30 days)
Angle alpha=5
  2 Comments
dpb
dpb on 27 Jan 2019
And what have you done to date and what specific Matlab Q? do you have? "We don't do homework!" :)
Image Analyst
Image Analyst on 29 Jan 2019
Not sure what your edit was. Maybe it was to edit away the question since there is hardly anything there anymore. Regardless, my answer below still stands (so far). Seeing the code in the FAQ, it should be trivial for you to draw a sector spanning some arc and aiming along some angular direction. Just specify the correct starting and stopping angle, draw the arc, and make sure the x,y coordinates have the origin as the first point, and the last point to make sure it goes to the center rather than just doing the curved part of the arc.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 27 Jan 2019
Adapt as needed (it will be easy).

Categories

Find more on Graphics Performance 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!