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 Solvers616
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
457 Solvers
-
523 Solvers
-
Back to basics - mean of corner elements of a matrix
433 Solvers
-
850 Solvers
-
5307 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!