MATLAB Answers

How would the MATLAB code look for polyshape, given a set of coordinates for all the nodes for a network of polygons?

9 views (last 30 days)
Steve
Steve on 7 Dec 2019
Commented: Steve on 8 Dec 2019
I need generate some code that will return:
  1. Number of polygons
  2. Number of sides/edges for each polygon
  3. Length of all edges
  4. Areas for each polygon
I have attached files containing the coordinates for all the nodes. If someone has a different/better way to do this, please show me what you have. Thanks in advance for all your help.

Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!