Skip to content

Commit 9309259

Browse files
committed
Bug fix to osbv
1 parent 083ed75 commit 9309259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/statefbk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def obsv(A, C):
421421
n = np.shape(amat)[0]
422422

423423
# Construct the observability matrix
424-
obsv = np.hstack([cmat] + [cmat*amat**i for i in range(1, n)])
424+
obsv = np.vstack([cmat] + [cmat*amat**i for i in range(1, n)])
425425
return obsv
426426

427427
def gram(sys,type):

0 commit comments

Comments
 (0)