Different results in Matlab and Python for StateSystem #1077
-
Beta Was this translation helpful? Give feedback.
Replies: 2 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! |
Beta Was this translation helpful? Give feedback.
-
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". |
Beta Was this translation helpful? Give feedback.
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".