Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 554. Is the Point in a Circle?

Created by Kuifeng

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

Tags

Problem Group

Solution Statistics

82 correct solutions 152 incorrect solutions
Last solution submitted on Jun 09, 2015

Problem Comments