changeset 4375:5855de872659

[project @ 2003-04-11 17:40:32 by jwe]
author jwe
date Fri, 11 Apr 2003 17:40:32 +0000
parents 6e3ec3585cec
children bfb14347a9fa
files scripts/ChangeLog scripts/control/base/__stepimp__.m
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Mon Apr 07 21:12:34 2003 +0000
+++ b/scripts/ChangeLog	Fri Apr 11 17:40:32 2003 +0000
@@ -1,3 +1,8 @@
+2003-04-11  Doug Stewart <dastew@sympatico.ca>
+
+	* control/base/__stepimp__.m: If digital impulse, reduce gain of
+	the impulse by t_step.
+
 2003-04-07  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* control/base/__bodquist__.m: Don't convert pdbig and fdbig to
--- a/scripts/control/base/__stepimp__.m	Mon Apr 07 21:12:34 2003 +0000
+++ b/scripts/control/base/__stepimp__.m	Fri Apr 11 17:40:32 2003 +0000
@@ -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