# HG changeset patch # User jwe # Date 1050082832 0 # Node ID 5855de87265973faa291c5610e1e08ea672d8f02 # Parent 6e3ec3585cec1c0f3f417614afc36581a091cbe2 [project @ 2003-04-11 17:40:32 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,8 @@ +2003-04-11 Doug Stewart + + * control/base/__stepimp__.m: If digital impulse, reduce gain of + the impulse by t_step. + 2003-04-07 John W. Eaton * control/base/__bodquist__.m: Don't convert pdbig and fdbig to diff --git a/scripts/control/base/__stepimp__.m b/scripts/control/base/__stepimp__.m --- a/scripts/control/base/__stepimp__.m +++ b/scripts/control/base/__stepimp__.m @@ -202,6 +202,9 @@ y(:,i) = C * x; x = F * x; endfor + if (DIGITAL) + y *= t_step; + endif else x = zeros(NSTATES, 1); for i = 1:n