why its not work

1 visualización (últimos 30 días)
shaker mahmood
shaker mahmood el 17 de Ag. de 2016
Editada: shaker mahmood el 17 de Ag. de 2016
i used
n1=5;
for x=50:5:200;
y=2*pi*n1/x;
plot (x,y);
its show an empty plot

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 17 de Ag. de 2016
Editada: Azzi Abdelmalek el 17 de Ag. de 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 comentario
shaker mahmood
shaker mahmood el 17 de Ag. de 2016
Editada: shaker mahmood el 17 de Ag. de 2016
thank you so much ,its help me a lot

Iniciar sesión para comentar.

Categorías

Más información sobre Log Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by