Closed
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 slycot python-control/Slycot@a1f43ab and python-control cdd3e73
import numpy as np
import control
num = [ [ [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.]