The angle and radius above the complex plane.

I would like to mark the outside by marking the angle and radius as a single point on the complex plane consisting of the real axis and the imaginary axis.
I defined the angle and radius, but I can't see the picture. What should I do?
The angles are 10 degrees apart, and the radius taken by them is different.

2 Comments

I do not understand the question. You want to marke the outside of what? What does "marking the angle and radius as a single point" mean? You can't see of the picture of what?
I'm sorry for my poor English. Thank you for leaving comments.
I want to show the angle and radius on the complex plane.
For example, I would like to draw a number such as 1.5cm in radius at 10 degrees, 1.3cm in radius at 20 degrees, and 1.0 in radius at 30 degrees on a complex plane.

Sign in to comment.

 Accepted Answer

Something like this?
rho = [1.5 1.3 1.0];
theta = [10 20 30];
Z = rho.*exp(deg2rad(theta).*1i);
polarplot(Z,'*')

1 Comment

Yes! That's what I wanted. I think I typed the wrong code in the part that defines Z. Thank you so much for answering. Happy New Year!

Sign in to comment.

More Answers (1)

Like this?
theta = 0:10:360;
r = linspace(1,2,numel(theta));
x = r.*cosd(theta);
y = r.*sind(theta);
figure()
plot(x,y)
Or perhaps this?
figure()
plot(x,y,'o')

2 Comments

Thank you for your answer. But I'm curious about how to place the angle and radius on the complex plane.
theta = 0:10:360;
r = linspace(1,2,numel(theta));
polarplot( deg2rad(theta), r)

Sign in to comment.

Asked:

on 24 Dec 2021

Commented:

on 27 Dec 2021

Community Treasure Hunt

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

Start Hunting!