Straight Lines inside Circles
이전 댓글 표시
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
답변 (3개)
Walter Roberson
2011년 9월 19일
Hint:
linspace(-Radius, Radius, 10+2)
and then throw away the first and last of those results.
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!