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

2 次查看(过去 30 天)
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

采纳的回答

shubham kumar gupta
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by