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 visualizzazione (ultimi 30 giorni)
theta = linspace(0,2*pi,1000); R1=7; R2 = 2 - 2*sin(theta); R3=2+4*cos(theta);

Risposta accettata

Steven Lord
Steven Lord il 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));

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by