フィルターのクリア

Why am I not getting the graph I want?

1 回表示 (過去 30 日間)
Muhtasim Ahmed
Muhtasim Ahmed 2018 年 9 月 14 日
回答済み: Image Analyst 2018 年 9 月 14 日
I am trying to use polar coordinate and graph the top part of a heart but this is what I am getting.
Here is my code:
polaraxes;
theta= linspace(0,2*pi);
hold on
for k= 1:5
r1=theta.^(2/3)+sqrt(k-theta.^2);
polarplot(theta,r1);
end
hold off

採用された回答

Image Analyst
Image Analyst 2018 年 9 月 14 日
I don't have time to debug your code but for what it's worth, attached is my heart drawing demo.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnimation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by