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)

 Réponse acceptée

Walter Roberson
Walter Roberson le 6 Déc 2015
Modifié(e) : Walter Roberson le 6 Déc 2015

0 votes

t=0:0.1:1;
y=(2*t+1) ./ (t.^2+1);
plot(t,y)

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by