Draw a circle in a grid

7 visualizaciones (últimos 30 días)
tusu
tusu el 26 de Mzo. de 2015
Respondida: Image Analyst el 26 de Mzo. de 2015
I have following diagram
I have divided this 100*100 space in 36 grids..6 grids in each row.How could I draw a circle by taking 4 square grids..like

Respuesta aceptada

Chad Greene
Chad Greene el 26 de Mzo. de 2015
This function draws circles easily.

Más respuestas (1)

Image Analyst
Image Analyst el 26 de Mzo. de 2015
You should know the circle center locations and radii. Then it's a simple matter of using one of the code snippets from the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by