I have to plot a circle from a (2,N) matrix where x and y are the coordinates of N points around the circle. Center is (0,3) and theta=pi/2 and phi is 0-2pi.. Radius is 2. Should look like the red circle in the back on the picture

 Akzeptierte Antwort

Geoff Hayes
Geoff Hayes am 7 Feb. 2016

0 Stimmen

Tina - please clarify how theta and phi are used. Do you have to colour (fill) the circle as red or just draw the perimeter of the circle? See http://matlab.wikia.com/wiki/FAQ#How_do_I_create_a_circle.3F for some examples on how to do this.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by