Borrar filtros
Borrar filtros

target detection

1 visualización (últimos 30 días)
Sara Julie
Sara Julie el 17 de Mzo. de 2011
Do anyone know how to draw a circle whose radius and center points are given. Then i need to check whether other given positions lies inside the circle?

Respuestas (1)

Jan
Jan el 17 de Mzo. de 2011
Do you want to check this by looking on the plotted diagram? A more reliable test is calculating the distance between the position and the center of the circle: If the position is smaller than the radius, the point is inside the circle.
If you really want to draw a circle, look at this FEX submission: draw-a-circle

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by