Error using plot Invalid first data argument
Ältere Kommentare anzeigen
I am trying to plot the following:
x=linspace(0,10);
y1=x./(1+x); y2=x.^2./(1+x.^2);
plot(x,y1,"g--",x,y2,"b")
I got this code from the answer of a task in a course book so it must be accurate but it still wont plot, all I get is Error using plot Invalid first data argument
what can I do to make it plot?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!