Different results in Matlab and Python for StateSystem #1077
Answered by
robertobucher
Dec 6, 2024
Replies: 4 comments 2 replies
|
Different results are normal, this is not an error! Try to cast again to tf to see the result. (Sorry, I can't check it because I don't have Matlab anymore!) For the same tf (or tf's) there are infinity possible state-space representations, depending on the chosen state variables! |
2 replies
|
A little problem is given by the very little values in the state matrix (...*e-17): I also found that python control doesn't approximate these values to "0". |
0 replies
Answer selected by
oHeHeHou
This comment was marked as spam.
This comment was marked as spam.
|
Yes, I had the same experience. See this related issue: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

A little problem is given by the very little values in the state matrix (...*e-17): I also found that python control doesn't approximate these values to "0".