Clear Filters
Clear Filters

why its not work

2 views (last 30 days)
shaker mahmood
shaker mahmood on 17 Aug 2016
Edited: shaker mahmood on 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

Accepted Answer

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

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 17 Aug 2016
Edited: Azzi Abdelmalek on 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 Comment
shaker mahmood
shaker mahmood on 17 Aug 2016
Edited: shaker mahmood on 17 Aug 2016
thank you so much ,its help me a lot

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!