Borrar filtros
Borrar filtros

Why is my plot not showing anything?

1 visualización (últimos 30 días)
Dustin Rigdon
Dustin Rigdon el 1 de Feb. de 2018
Comentada: Image Analyst el 1 de Feb. de 2018
x = -3:0.01:5;
y = ((x+5).^2)/(4+3*x.^2);
plot(x,y)

Respuesta aceptada

James Tursa
James Tursa el 1 de Feb. de 2018
Use element-wise division:
y = ((x+5).^2)./(4+3*x.^2);
  2 comentarios
Dustin Rigdon
Dustin Rigdon el 1 de Feb. de 2018
Thanks!
Image Analyst
Image Analyst el 1 de Feb. de 2018
Dustin, you can also thank him by Accepting his answer, and voting for it, to give him reputation points.

Iniciar sesión para comentar.

Más respuestas (0)

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