Straight Lines inside Circles
3 次查看(过去 30 天)
显示 更早的评论
Hi,
How to draw 10 straight lines horizontally and 10 vertically inside a circlular shape.
Please note that the lines are equally spaced.
Thanks in advance.
Prem
0 个评论
回答(3 个)
Walter Roberson
2011-9-19
Hint:
linspace(-Radius, Radius, 10+2)
and then throw away the first and last of those results.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!