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

 Réponse acceptée

Geoff Hayes
Geoff Hayes le 7 Fév 2016

0 votes

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.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by