Why is my plot not showing anything

 Respuesta aceptada

Richard Burnside
Richard Burnside el 21 de Jun. de 2023
Editada: Richard Burnside el 21 de Jun. de 2023

0 votos

Your plot command is using lower case w and your data is upper case W. Same for Z.

3 comentarios

Walter Roberson
Walter Roberson el 21 de Jun. de 2023
Also, Plot() is not the same as plot() since roughly MATLAB 4
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 Line Plots en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 21 de Jun. de 2023

Comentada:

el 21 de Jun. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by