- Notifications
You must be signed in to change notification settings - Fork441
Closed
Labels
Description
2x2 MIMO system I/s (diagonal, integrators on diagonal) is reported as having 1 pole. Converting to state-space gives the correct number of poles.
tested with slycotpython-control/Slycot@a1f43ab and python-controlcdd3e73
importnumpyasnpimportcontrolnum= [ [ [1], [0] ], [ [0], [1] ] ]den= [ [ [1,0], [1] ], [ [1], [1,0] ] ]g=control.tf(num,den)print('g.pole()',g.pole())print('control.ss(g).pole()',control.ss(g).pole())
output:
g.pole() [ 0.]control.ss(g).pole() [-0. -0.]