Effacer les filtres
Effacer les filtres

how to plot a circle(not proper) if we have array of radius

1 vue (au cours des 30 derniers jours)
I have arr=[1,2,1,1,1,3,2,1,1,1,1] % total of 360 denoting degree and eac value as radius at that degree
from center
how to plot that circle

Réponse acceptée

shubham kumar gupta
shubham kumar gupta le 12 Mai 2021
for phi=0:359
x=[0,c_max(phi+1,j)*cosd(phi)]
y=[0,0+c_max(phi+1,j)*sind(phi)]
plot(x,y,'c*')
hold on;
end

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by