You are on page 1of 1

>> vgs=-3:0.

1:0;

>> idss=6e-3;

>> vp=-3;

>> id=(idss*(1-(vgs/vp)).^2);%shockley’s equation

>> vgs2=-id*1600;% network equation

>> plot(vgs,id), hold on % plot transfer curve/ hold on---wait for the next plot

>> plot(vgs2,id);% plot network equation

Idq = 1.1 mA

Vgsq = -1.75 V

You might also like