Circuit Theory/2Source Excitement/Example45/matlab1

t=0:.01:10;
y=10*(1 - exp(-t) - t.*exp(-t));
plot(t,y);
xlabel('time');
ylabel('Ir');