Problem 554. Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r.
Points = [x, y]; circle = (x0, y0, r)
Return true or false for each point tested
Solution Stats
Problem Comments
-
8 Comments
Show
5 older comments
Rafael Hernandez-Walls
on 20 Nov 2017
The first test case is wrong, is FALSE
Jeremy Perez
on 16 Sep 2020
Is the Point on a Disk?
Is the Point inside a Circle?
Ignacio Davila
on 18 Oct 2022
The first test is still wrong! It has not been corrected.
Solution Comments
Show commentsProblem Recent Solvers615
Suggested Problems
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2318 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
541 Solvers
-
Compute a dot product of two vectors x and y
1000 Solvers
-
451 Solvers
-
8332 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!