MATLAB Answers

Lars Simonsen

Complicated circle plot in MATLAB

Asked by Lars Simonsen
on 26 May 2013

Hello all matlab geniuses.

Does anyone have a suggestion of how to make a plot like the one shown in this picture:

Best Regards, Lars



No products are associated with this question.

1 Answer

Answer by Image Analyst
on 26 May 2013
 Accepted answer

Did you see the polar() function, and give that a try?


Lars Simonsen
on 26 May 2013

Thank you. Seems to be what I'm looking for. However, I'm not familiar with the polar function. I have six values at six different angles, which I have setup in two arrays. How am I supposed to implement this in the polar function?

I tried the following. But that didn't work.

Cd1200_0_60 = [Cd(698) Cd(703) Cd(712) Cd(717) Cd(726)]; phi = [0 15 30 45 60]; polar(phi,Cd1200_0_60/Cd1200_0_60(1),'--','color','b')

EDIT: Aaah nevermind. Of course I have to convert the angles from degrees into radians. Is there any way I can make the x- and y-axis visible like in the picture?

Image Analyst
on 26 May 2013

I haven't used it. I'd have to experiment with it and read the documentation just like you're doing, so I'll let you do that.

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!