How I plot the time response of y(t) = 2-2e^-t-2te^-t

asked 2019-02-19 10:28:04 -0500

I want to plot this use Scilab but nothing I try is working. I've been able to plot other expressions but this one is proving difficult.

Something like this plots easily

   `s=s%;
G1 = syslin('c', 3, s^2 + 2*s +3);
t = 0:0.01:10;
y = csim('imp', t, G1);
plot(t, y);`
edit retag flag offensive close merge delete

Comments

Please show exactly what you tried. Also show exactly what the result is.

wallyk gravatar imagewallyk ( 2019-02-19 13:52:10 -0500 )edit
1

Not sure what of this have to do with Fedora, I think this is the wrong forum for this question. Please let us know more or it will be close it.

aeperezt gravatar imageaeperezt ( 2019-02-19 23:18:26 -0500 )edit