0% found this document useful (0 votes)
22 views1 page

Forward Voltage, V Forward Current, A: Solution

Uploaded by

Maricruz Rocha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views1 page

Forward Voltage, V Forward Current, A: Solution

Uploaded by

Maricruz Rocha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Forward Voltage, V Forward Current, A

0.1 0.133e-12

0.2 1.79e-12

0.3 24.02e-12

0.4 0.321e-9

0.5 4.31e-9

0.6 57.69e-9

0.7 7.726e-7

Solution

diary ex9_1.dat
% Diode parameters

vt = 25.67e-3;
v = [0.1 0.2 0.3 0.4 0.5 0.6 0.7];
i = [0.133e-12 1.79e-12 24.02e-12 321.66e-12 4.31e-9 57.69e-9
772.58e-9];

%
lni = log(i); % Natural log of current

% Coefficients of Best fit linear model is obtained


p_fit = polyfit(v,lni,1);

% linear equation is y = m*x + b


b = p_fit(2);
m = p_fit(1);
ifit = m*v + b;

% Calculate Is and n
Is = exp(b)
n = 1/(m*vt)

% Plot v versus ln(i), and best fit linear model


plot(v,ifit,'w', v, lni,'ow')
axis([0,0.8,-35,-10])

© 1999 CRC Press LLC

You might also like