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

1 回表示 (過去 30 日間)
shubham kumar gupta
shubham kumar gupta 2021 年 5 月 12 日
回答済み: shubham kumar gupta 2021 年 5 月 12 日
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
shubham kumar gupta 2021 年 5 月 12 日
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 Center および File ExchangeLine Plots についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by