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 Solvers11
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15808 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
176 Solvers
-
18234 Solvers
-
388 Solvers
-
328 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!