411 REFERENCE · Wikibooks
Circuit Theory/2Source Excitement/Example45/matlab1
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
t=0:.01:10;
y=10*(1 - exp(-t) - t.*exp(-t));
plot(t,y);
xlabel('time');
ylabel('Ir');