Borrar filtros
Borrar filtros

Why is my plot not showing anything

3 visualizaciones (últimos 30 días)
Dami_2.0
Dami_2.0 el 21 de Jun. de 2023
Comentada: Walter Roberson el 21 de Jun. de 2023
W = [1:5] Z= [2:2:10] Plot(w,z)

Respuesta aceptada

Richard Burnside
Richard Burnside el 21 de Jun. de 2023
Editada: Richard Burnside el 21 de Jun. de 2023
Your plot command is using lower case w and your data is upper case W. Same for Z.
  3 comentarios
Dami_2.0
Dami_2.0 el 21 de Jun. de 2023
I've corrected that now
w= [1:5] z= [2:2:10] plot(w,z) It's still not plotting
Walter Roberson
Walter Roberson el 21 de Jun. de 2023
w= [1:5]; z= [2:2:10]; plot(w,z)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D 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