help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: precision for discharge function


From: Primoz PETERLIN
Subject: Re: precision for discharge function
Date: Tue, 9 Jun 2009 10:35:51 +0200

Hi,

You probably want u=U0*exp(-t/T), not u=U0*exp(-t*T).

Regards, Primož

2009/6/9 feldmaus <address@hidden>:
> Hi All,
>
> today i tried to plot an discharge function:
> T=1e-6
> t=0:0.1e-6:10e-6;
> U0=1
> u=U0*exp(-t*T);
> plot(t,u)
>
> But i pnly get a horizontal line. :-(
>
> This is because of the precision i think, so how
> can i still plot it ?
>
> regards Markus
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>



-- 
Primož Peterlin,   Inštitut za biofiziko, Med. fakulteta, Univerza v Ljubljani
Lipičeva 2, SI-1000 Ljubljana, Slovenija.        address@hidden
Tel +386-1-5437612, fax +386-1-4315127,  http://biofiz.mf.uni-lj.si/~peterlin/
F8021D69 OpenPGP fingerprint: CB 6F F1 EE D9 67 E0 2F  0B 59 AF 0D 79 56 19 0F



reply via email to

[Prev in Thread] Current Thread [Next in Thread]