how to sraw a circle

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))

This question is closed.

Tags

Asked:

on 22 Nov 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!