Mercurial > hg > octave-nkf
changeset 414:9a17c682207e
[project @ 1994-05-08 05:49:34 by jwe]
author | jwe |
---|---|
date | Sun, 08 May 1994 05:49:34 +0000 |
parents | 32e8edd62246 |
children | 0ce34c2fc3d5 |
files | scripts/control/lqe.m |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/control/lqe.m +++ b/scripts/control/lqe.m @@ -1,4 +1,4 @@ -# Copyright (C) 1993 John W. Eaton +# Copyright (C) 1993, 1994 John W. Eaton # # This file is part of Octave. # @@ -24,7 +24,7 @@ # continuous time system # # dx/dt = A x + B u + G w -# y = C x + D u + w +# y = C x + D u + v # # where w, v are zero-mean gaussian noise processes with respective # intensities SigW = cov (w, w) and SigV = cov (v, v). @@ -54,4 +54,6 @@ [k, p, e] = lqr (a', c', g*sigw*g', sigv, g*zz); endif + k = k'; + endfunction