How to get a graph for DG MOSFET (Ids vs Vds characteristics)????
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
if true
W=324;
un=1;
Cox=3;
Leff=6;
ld=3;
Ec=1;
lambda=25*10^(-5);
Vgs=0.5;
vth=2.04;
DIBL=0.5;
Vth=vth-DIBL
Vds=0:0.1:7%Vds Voltage value in Volts
Id=(2*W*un*Cox/Leff-ld+(Vds/Ec)) +(lambda* 2*W*Cox/(Leff-ld)^2)*((Vgs-Vth)*Vds-0.5*Vds^2)
plot(Vds,Id)
end
0 Kommentare
Antworten (1)
Walter Roberson
am 20 Dez. 2013
Id=(2*W*un*Cox/Leff-ld+(Vds/Ec)) +(lambda* 2*W*Cox/(Leff-ld).^2)*((Vgs-Vth)*Vds-0.5*Vds.^2)
2 Kommentare
Walter Roberson
am 28 Aug. 2022
Vds=0:0.1:7
That is a 1 x 71 vector
Vds^2
That is the matrix power operator, equivalent in this case to
Vds * Vds
where * is the algebraic matrix product operation, also known as "inner product". When you have A * B for two matrices, then size(A,2) must equal size(B,1) -- the number of columns of the first matrix must match the number of rows of the second matrix. However when you take a (1 x 71) * (1 x 71) then the number of columns in the first operand is 71, but the number of rows in the second operand is 1. Using * (matrix power) between a 1 x 71 and a 1 x 71 is not a valid calculation.
If you consider for a second you will see that for A^2 to be valid, A must be a square matrix (possibly a scalar)
If you want each element of Vds to be independently squared then you need the element-by-element power, which is the .^ operator.
Siehe auch
Kategorien
Mehr zu Semiconductors and Converters finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!