Mercurial > forge
changeset 11754:9219dfd8db26 octave-forge
forward bias is more interesting
author | cdf |
---|---|
date | Thu, 06 Jun 2013 18:50:58 +0000 |
parents | 31ede4af7144 |
children | df39354b2976 |
files | extra/secs1d/inst/demos/simple_diode_tran_noscale_res.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/secs1d/inst/demos/simple_diode_tran_noscale_res.m Thu Jun 06 18:01:37 2013 +0000 +++ b/extra/secs1d/inst/demos/simple_diode_tran_noscale_res.m Thu Jun 06 18:50:58 2013 +0000 @@ -19,7 +19,7 @@ % time span for simulation tmin = 0; -tmax = .001; +tmax = 10; tspan = [tmin, tmax]; Fn = Fp = zeros (size (device.x)); @@ -47,7 +47,7 @@ function [g, j, r] = vbcs (t, dt); g = [1; 0]; - j = [0; -t]; + j = [0; t]; r = [0; 1e7]; endfunction