Draw a heptagone of dice vertices. MATLAB.

2 views (last 30 days)
David Pérez Lozano
David Pérez Lozano on 20 Nov 2020
Answered: Steven Lord on 21 Nov 2020
I have to build a heptagone from vertices with x and y coordinates.
P1 = (0, 2), P2 = (1, 5), P3 = (4'7, 6'03), P4 = (7'92, 3'44), P5 = (6'54, 1'6), P6 = (4, 0) e P7 = (2, 0).
What are the commands I need to use?

Answers (1)

Steven Lord
Steven Lord on 21 Nov 2020
polyshape, patch, or plot are three possibilities depending on what you want to do later on with the polygon.

Categories

Find more on Elementary Polygons 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!