Clear Filters
Clear Filters

Why is my plot not showing anything

3 views (last 30 days)
W = [1:5] Z= [2:2:10] Plot(w,z)

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!