diff scripts/control/hinf/hinf_ctr.m @ 7137:38fe664f0ef1

[project @ 2007-11-08 20:26:32 by jwe]
author jwe
date Thu, 08 Nov 2007 20:26:32 +0000
parents a184bc985c37
children
line wrap: on
line diff
--- a/scripts/control/hinf/hinf_ctr.m	Thu Nov 08 20:18:26 2007 +0000
+++ b/scripts/control/hinf/hinf_ctr.m	Thu Nov 08 20:26:32 2007 +0000
@@ -102,7 +102,7 @@
   md1112 = length (D1112);
   md1121 = length (D1121);
 
-  if (nd1111 == 0) || md1112 == 0)
+  if (nd1111 == 0 || md1112 == 0)
     d11hat = -D1122;
   else
     xx = inv (g*g*eye(nz-nu) - D1111*D1111');