how to plot cos60 in matlab?

3 views (last 30 days)
Aacs
Aacs on 17 Apr 2014
Edited: Mischa Kim on 17 Apr 2014
Hi, can we draw the line for cos 60 degree from origin?

Answers (1)

Mischa Kim
Mischa Kim on 17 Apr 2014
Edited: Mischa Kim on 17 Apr 2014
Aacs, use
line([0;cos(pi/3)],[0;sin(pi/3)])

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!