MATLAB: 2D Circle 3D Plot.

circle

Hello, How can i draw a circle in a 3d plot? thanks,

Best Answer

r=1
teta=-pi:0.01:pi
x=r*cos(teta);
y=r*sin(teta)
plot3(x,y,zeros(1,numel(x)))
Related Question