why its not work

12 vues (au cours des 30 derniers jours)
shaker mahmood
shaker mahmood le 17 Août 2016
Modifié(e) : shaker mahmood le 17 Août 2016
i used
n1=5;
for x=50:5:200;
y=2*pi*n1/x;
plot (x,y);
its show an empty plot

Réponse acceptée

Torsten
Torsten le 17 Août 2016
n1=5;
x=50:5:200;
y=2*pi*n1./x;
plot (x,y);
Best wishes
Torsten.
  1 commentaire
shaker mahmood
shaker mahmood le 17 Août 2016
thank you so much

Connectez-vous pour commenter.

Plus de réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 17 Août 2016
Modifié(e) : Azzi Abdelmalek le 17 Août 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 commentaire
shaker mahmood
shaker mahmood le 17 Août 2016
Modifié(e) : shaker mahmood le 17 Août 2016
thank you so much ,its help me a lot

Connectez-vous pour commenter.

Catégories

En savoir plus sur Log Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by