Why is my plot not showing anything

3 vues (au cours des 30 derniers jours)
Dami_2.0
Dami_2.0 le 21 Juin 2023
Commenté : Walter Roberson le 21 Juin 2023
W = [1:5] Z= [2:2:10] Plot(w,z)

Réponse acceptée

Richard Burnside
Richard Burnside le 21 Juin 2023
Modifié(e) : Richard Burnside le 21 Juin 2023
Your plot command is using lower case w and your data is upper case W. Same for Z.
  3 commentaires
Dami_2.0
Dami_2.0 le 21 Juin 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 le 21 Juin 2023
w= [1:5]; z= [2:2:10]; plot(w,z)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by