Why is my plot not showing anything

3 Ansichten (letzte 30 Tage)
Dami_2.0
Dami_2.0 am 21 Jun. 2023
Kommentiert: Walter Roberson am 21 Jun. 2023
W = [1:5] Z= [2:2:10] Plot(w,z)

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by