It would be great if we can invert a state space with python-control. The formulation is easy: https://engineering.stackexchange.com/questions/21895/how-do-i-invert-a-system-in-state-space-form The relevant Matlab page is here: https://nl.mathworks.com/help/control/ref/inputoutputmodel.inv.html