why its not work
Afficher commentaires plus anciens
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
Plus de réponses (1)
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
le 17 Août 2016
Modifié(e) : shaker mahmood
le 17 Août 2016
Catégories
En savoir plus sur Log Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!