How to plot a circle of some radius on a polar plot ?
Mostra commenti meno recenti
eg. i want a small circle with origin as center of some radius...ON the POLAR plot
Risposta accettata
Più risposte (1)
Gabriel Malagon Carvajal
il 9 Set 2017
0 voti
When is not center in the origen?
1 Commento
Walter Roberson
il 9 Set 2017
%need centres for demo purposes
xc = randn() * 5; yc = randn() * 5;
%the work
th = linspace(0,2*pi,50);
r = 10;
[x,y] = pol2cart(th,r);
[th1, r1] = cart2pol( x+xc, y+yc );
polar(th1, r1);
Categorie
Scopri di più su Polar Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!