Problem 60566. Given a Polyshape_01 (ps) Return its Perimeter, Area, and Centroid.
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 commentsProblem Recent Solvers6
Suggested Problems
-
Find common elements in matrix rows
2615 Solvers
-
Find S-parameters of the circuit
46 Solvers
-
Vector Linear sum: (p1-m1)V1+(p2-m2)V2+...(pK-mk)Vk
54 Solvers
-
Find the maximum number of decimal places in a set of numbers
2732 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
216 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!