f



question about matlab

i made a *.m file with de next code

q=1.6e-19;
Vd=-80;
Eo=8.85e-14;
E=11.9*Eo;
Na=logspace(10,19,20);
E_rup_1=20+5*log(Na/1e14)+Na/1e17;
E_rup_2=sqrt((-2*q*Na*Vd)/E)*1e-4;
semilogx(Na,E_rup_1,Na,E_rup_2)

I have ploted in logaritimic scale the functions, "E_rup_1" and
"E_rup_2" depending off Na,

on the plot and for a Na value, the 2 functions are equal.

How can i get the Na value?

Thanks
0
beporo (1)
11/2/2004 5:48:04 PM
comp.soft-sys.matlab 211266 articles. 14 followers. lunamoonmoon (258) is leader. Post Follow

1 Replies
242 Views

Similar Articles

[PageSpeed] 20

If you're trying to graphically determine at which value(s) of Na the
two curves are equal, try ginput.

HELP GINPUT

Kyle

beporo wrote:
>
>
> i made a *.m file with de next code
>
> q=1.6e-19;
> Vd=-80;
> Eo=8.85e-14;
> E=11.9*Eo;
> Na=logspace(10,19,20);
> E_rup_1=20+5*log(Na/1e14)+Na/1e17;
> E_rup_2=sqrt((-2*q*Na*Vd)/E)*1e-4;
> semilogx(Na,E_rup_1,Na,E_rup_2)
>
> I have ploted in logaritimic scale the functions, "E_rup_1" and
> "E_rup_2" depending off Na,
>
> on the plot and for a Na value, the 2 functions are equal.
>
> How can i get the Na value?
>
> Thanks
0
11/2/2004 8:10:51 PM
Reply: