Anda di halaman 1dari 3

Question No 1

A. For silicon

B. For GAAS
C. For CDTe

Matlab Code :

wavelength = [400 600 800 900 1000];


depth = 10^-9:10^-5:10^-3;
a_SI = [9*10^4 4*10^3 8.5*10^2 3*10^2 5*10^1];
a_GAAS = [6.5*10^5 5*10^4 10^4 6*10^1 0];
a_CDTe = [2.7*10^5 5.5*10^4 2*10^4 3 0];
for i = 1:length(depth)
for j = 1:length(wavelength)
I_SI(i,j) = exp(-a_SI(j)*depth(i));
I_CDTe(i,j) = exp(-a_CDTe(j)*depth(i));
I_GAAS(i,j) = exp(-a_GAAS(j)*depth(i));
end
end
figure
grid on
axis([0 10^-3 -0.1 1.1])
xlabel('depth')
ylabel('Intensity')
title(' Silicon ')
hold on
for k = 1:length(wavelength)
plot(depth,I_SI(:,k))
hold on
end
figure
grid on
axis([0 10^-3 -0.1 1.1])
xlabel('depth')
ylabel('Intensity')
title('GAAS')
hold on
for l = 1:length(wavelength)
plot(depth,I_GAAS(:,l))
hold on
end
figure
grid on
axis([0 10^-3 -0.1 1.1])
xlabel('depth')
ylabel('Intensity')
title('CDTE')
hold on
for m = 1:length(wavelength)
plot(depth,I_CDTe(:,m))
hold on
end