Why is my plot not showing anything

 Risposta accettata

Richard Burnside
Richard Burnside il 21 Giu 2023
Modificato: Richard Burnside il 21 Giu 2023
Your plot command is using lower case w and your data is upper case W. Same for Z.

3 Commenti

Also, Plot() is not the same as plot() since roughly MATLAB 4
I've corrected that now
w= [1:5] z= [2:2:10] plot(w,z) It's still not plotting
w= [1:5]; z= [2:2:10]; plot(w,z)

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by