Straight Lines inside Circles
조회 수: 4 (최근 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.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!