i used
n1=5;
for x=50:5:200;
y=2*pi*n1/x;
plot (x,y);
its show an empty plot

 採用された回答

Torsten
Torsten 2016 年 8 月 17 日

1 投票

n1=5;
x=50:5:200;
y=2*pi*n1./x;
plot (x,y);
Best wishes
Torsten.

1 件のコメント

shaker mahmood
shaker mahmood 2016 年 8 月 17 日
thank you so much

サインインしてコメントする。

その他の回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 8 月 17 日
編集済み: Azzi Abdelmalek 2016 年 8 月 17 日

1 投票

If you want to do it with a for loop
n1=5;
for x=50:5:200;
y=2*pi*n1./x;
scatter(x,y);
hold on
end

1 件のコメント

shaker mahmood
shaker mahmood 2016 年 8 月 17 日
編集済み: shaker mahmood 2016 年 8 月 17 日
thank you so much ,its help me a lot

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeLog Plots についてさらに検索

タグ

質問済み:

2016 年 8 月 17 日

編集済み:

2016 年 8 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by