Jump to content

Circuit Theory/2Source Excitement/Example45/matlab1

From Wikibooks, open books for an open world
t=0:.01:10;
y=10*(1 - exp(-t) - t.*exp(-t));
plot(t,y);
xlabel('time');
ylabel('Ir');