Skip to content

Commit 598a91a

Browse files
committed
Fix canonical form 'observable'
1 parent 601b581 commit 598a91a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/canonical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def observable_form(xsys):
133133
Wrz = obsv(zsys.A, zsys.C)
134134

135135
# Transformation from one form to another
136-
Tzx = inv(Wrz) * Wrx
136+
Tzx = solve(Wrz, Wrx) # matrix right division, Tzx = inv(Wrz) * Wrx
137137

138138
# Finally, compute the output matrix
139139
zsys.B = Tzx * xsys.B

0 commit comments

Comments
 (0)