Can anyone help me in taking plot between threshold voltage and thickness of AlN

3 次查看(过去 30 天)
I am taking plot between threshold voltage(voff) anf Thickness of AlN (tAlN) using the following formula
Voff= (fis- (detaEceff/q) + vds)
I have writtent the following code for this ,but I am not getting correct result. Please rectify my code so that I can improve my mistakes.
clear;
q=1.6e-19;
E0=8.85e-12;
Ealgan=10.31;
Ealn=10.78;
fis=(5.1*1.6e-19);
sigmaaln=3.38e17;
sigmaalgan=1.3e17;
detaecalgan=(0.422*1.6e-19);
talgan=23e-9;
vds=10;
p=((q^2)/Ealgan);
taln=0.8:0.1:10;
m=length(taln);
for i=1:m
detaec2 = detaecalgan + (p*sigmaaln^2*taln(i));
voff(i) = (fis-(detaec2/q)+vds);
end
plot(taln, voff)
xlabel('taln (nm)')

回答(1 个)

Meet
Meet 2023-2-10
Hi,
The code is generating a plot which is linearly decreasing, but I assume that you are expecting a different type of graph. The code you have written seems correct and it models the equations provided by you. Please provide more details on what you are trying to achieve and the result that is expected by you.

类别

Help CenterFile Exchange 中查找有关 Scripts 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by