Matlab won't plot my function
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rachel Berger
am 6 Dez. 2015
Kommentiert: Rachel Berger
am 6 Dez. 2015
Hi there, I'm trying to plot this function in matlab, but the plot shows up blank. The workspace says y=1.524 which confuses me. Any ideas?
t=0:0.1:1;
y=(2*t+1)/(t.^2+1);
plot(t,y)
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 6 Dez. 2015
Bearbeitet: Walter Roberson
am 6 Dez. 2015
t=0:0.1:1;
y=(2*t+1) ./ (t.^2+1);
plot(t,y)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Interactive Control and Callbacks 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!