How can i polar plot R1 without theta .the equation R1=7 means that no matter what angle we’ve got the distance from the origin must be 7. when i plot it it doesn't show in the figures as R2 and R3 does!!!

1 view (last 30 days)
theta = linspace(0,2*pi,1000); R1=7; R2 = 2 - 2*sin(theta); R3=2+4*cos(theta);

Accepted Answer

Steven Lord
Steven Lord on 23 Nov 2017
Make R1 a vector of the same length as theta with all its elements equal to 7.
R1 = repmat(7, size(theta));

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!