How to solve two equations in matlab to obtain the value of a variable using solve command?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to solve the two equations given below:
Ids=(2*pi*R/L)*(Meff./(1+(do.*Meff.*Vds./(vsat*L)))+(lamda/L)).*(2*Vth.*(Qs-Qd))+((Qs^2-Qd.^2)./(2*Cn))+(Vth*Qo.*log((Qd+Qo)./(Qs+Qo)));
Ids=(2*pi*R.*Cn.*(-Qii+sqrt(Qii.^2+(4*(Vth^2)*(log(1+exp((Vg-Vtqm+dVtqm-Vdssat)./(2*Vth)))).^2))).*(vsat+(lamda*Vds./L^2))))
For the 1st equation all the values of the variables are known. Equating the 1st equations to the 2nd the value of Vdssat is needed to be found.
Values of the given variables:
R=2.5e-7;
L=180e-7;
Meff=214.0586;
Vds=0:0.01:1.2;
vsat=1e7;
lamda=40e-5;
Vth=0.0259;
Qs=2.6934e-6;
Qo=4.2308e-7;
Cn=2.438152e-06;
Qii=((2.*Cn.*Vth^2)/Qo);
Vtqm=0.13771;
dVtqm=7.535e-08;
Vg=1.25;
Qd=Cn.*(-Qii+sqrt(Qii.^2+(4*(Vth^2)*(log(1+exp((Vg-Vtqm+dVtqm-Vds)./(2*Vth)))).^2)));
Ec=3.27306227e4;
do=(Vds/(L*Ec)).*(1.5+(Vds/(L*Ec))).^-1;
how to solve the equations using the solve command?
0 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!