Accepted Answer

Image Analyst
Image Analyst on 26 Dec 2020

0 votes

Did you click the star tag link on the right? If you had, you would have come up with plenty of hits, such as this one where I gave code to draw a star:

More Answers (1)

Matt J
Matt J on 26 Dec 2020
Edited: Matt J on 26 Dec 2020

0 votes

If you know the vertices of the star, you can just use the line() or plot() command.

Categories

Tags

Community Treasure Hunt

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

Start Hunting!