Straight Lines inside Circles
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (3)
Walter Roberson
le 19 Sep 2011
Hint:
linspace(-Radius, Radius, 10+2)
and then throw away the first and last of those results.
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!