why its not work

19 Ansichten (letzte 30 Tage)
shaker mahmood
shaker mahmood am 17 Aug. 2016
Bearbeitet: shaker mahmood am 17 Aug. 2016
i used
n1=5;
for x=50:5:200;
y=2*pi*n1/x;
plot (x,y);
its show an empty plot

Akzeptierte Antwort

Torsten
Torsten am 17 Aug. 2016
n1=5;
x=50:5:200;
y=2*pi*n1./x;
plot (x,y);
Best wishes
Torsten.
  1 Kommentar
shaker mahmood
shaker mahmood am 17 Aug. 2016
thank you so much

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 17 Aug. 2016
Bearbeitet: Azzi Abdelmalek am 17 Aug. 2016
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 Kommentar
shaker mahmood
shaker mahmood am 17 Aug. 2016
Bearbeitet: shaker mahmood am 17 Aug. 2016
thank you so much ,its help me a lot

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Log Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by