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
-
Sum of first n terms of a harmonic progression
441 Solvers
-
512 Solvers
-
The sum of the numbers in the vector
612 Solvers
-
685 Solvers
-
find the surface area of a cube
537 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!