Info

This question is closed. Reopen it to edit or answer.

how to sraw a circle

1 view (last 30 days)
Fatjon Dashhana
Fatjon Dashhana on 22 Nov 2011
Closed: MATLAB Answer Bot on 20 Aug 2021
hello
i have a question
i must to know how to draw faster a circle in matlab

Answers (1)

Wayne King
Wayne King on 22 Nov 2011
You have not really given us much to go on. What do you mean "faster"? compared to what? You have not shown us any code.
r = 1;
theta = 0:0.01:(2*pi);
y = r*exp(1j*theta);
plot(real(y),imag(y))

Tags

Community Treasure Hunt

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

Start Hunting!