Problem 44369. Circle/Pentagon Overlap
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
Solution Comments
Show commentsProblem Recent Solvers314
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6129 Solvers
-
Find state names that start with the letter N
1197 Solvers
-
Return the first and last characters of a character array
9412 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
471 Solvers
-
Sum of odd numbers in a matrix
560 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!