scipy/scipy — pull request #2862 by pathim (2013-09-13 17:21:27+00:00)
Title: Enable simulation of MIMO systems

Until now lsim2 was unable to simulate MIMO systems because lti tried to create tf and zpk representations. Those cannot be created for multiple input systems. The transformation is now skipped if there is more than one input.

Additionally the fprime function used a transposed version of the input. This is fixed now.

I added a test to test_ltisys.py testing the simulation of a two-input-two-output system, where the output is simply a copy of the input. All previous tests still pass. Behaviour for single input systems has not changed, so no working existing code should break.