Return the perimeter (P) of a polyshape object, which is the sum of the lengths of its boundaries.
Return the total area (A) of a polyshape object, which is the sum of the areas of the solid regions that make up the polyshape.
Return the x-coordinate (Cx) and the y-coordinate (Cy) of the centroid of a polyshape.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers12
Suggested Problems
-
6111 Solvers
-
Which values occur exactly three times?
5255 Solvers
-
Back to basics 19 - character types
275 Solvers
-
find the roots of a quadratic equation
243 Solvers
-
07 - Common functions and indexing 1
455 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!