Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a circle. The function should return the number of pentagon vertices that lie within or on the circle. The tolerance for lying on the circle is 0.02.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers326
Suggested Problems
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Number of 1s in a binary string
11016 Solvers
-
720 Solvers
-
Make a random, non-repeating vector.
11221 Solvers
-
Remove the two elements next to NaN value
703 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
nice