You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got asked why this was behaving weirdly, and I'm not sure. Seems like the struct_ctrb_obsv removes some states when converting from state space to zpk, but was not immediately clear to me what was going on in there.
using ControlSystems
A = [-0.0163032605981740240.0086068699399999280.0029458598726114650.000387473460721868370.00211965267541959-0.002119652675419590.00.06.776556776556777e-50.0-6.776556776556777e-50.00.00.00.0-0.0024333333333333334]
B = [0; 0; 0; 1.0]
C = [1.0000]
sys =ss(A, B, C, 0)
@showtzero(sys) pole(sys)
@showtzero(tf(sys)), pole(tf(sys))
@showtzero(zpk(tf(sys))), pole(zpk(tf(sys)))
@showtzero(zpk(sys)), pole(zpk(sys)) # This is different than all the others, still seems similar but some states removed
The text was updated successfully, but these errors were encountered:
Got asked why this was behaving weirdly, and I'm not sure. Seems like the
struct_ctrb_obsv
removes some states when converting from state space to zpk, but was not immediately clear to me what was going on in there.The text was updated successfully, but these errors were encountered: