Draw a circle in a grid
3 次查看(过去 30 天)
显示 更早的评论
I have following diagram
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148356/image.png)
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/148358/image.jpeg)
0 个评论
采纳的回答
更多回答(1 个)
Image Analyst
2015-3-26
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
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!