Plotting -3|siny|

1 visualización (últimos 30 días)
Bimal Bhattarai
Bimal Bhattarai el 22 de Jun. de 2019
Comentada: infinity el 23 de Jun. de 2019
My code is showing error in the x=-3abs(siny) part. Please Help
y=-pi:0.1:pi;
x=-3abs(siny);
plot (y,x);
  2 comentarios
dpb
dpb el 23 de Jun. de 2019
Why not move your Comment to an Answer???
infinity
infinity el 23 de Jun. de 2019
Hello,
You are right. I have changed it to the answer.

Iniciar sesión para comentar.

Respuestas (1)

infinity
infinity el 23 de Jun. de 2019
it should be like that
x=-3*abs(sin(y));

Categorías

Más información sobre 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