Borrar filtros
Borrar filtros

When I run it Why there is no picture

2 visualizaciones (últimos 30 días)
ding xian zhi
ding xian zhi el 19 de Mzo. de 2017
Comentada: ding xian zhi el 19 de Mzo. de 2017
x=0:50/pi:2*pi;
y=cos(x).*[0.5+3*sin(x)./(1+x.^2)];
plot(x,y)
When I run it Why there is no picture could anyone help me thx
  2 comentarios
per isakson
per isakson el 19 de Mzo. de 2017
Editada: per isakson el 19 de Mzo. de 2017
Did you check the values of x and y, respectively?
ding xian zhi
ding xian zhi el 19 de Mzo. de 2017
I find the problem It should be pi/50 not 50/pi

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 19 de Mzo. de 2017
x=0:pi/50:2*pi;

Categorías

Más información sobre Get Started with MATLAB 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