zp = TransferFunction.Conversion.toZerosAndPolesMIMO(tf)
Converts a matrix of transfer functions denoted as rational polynomial function into a matrix of transfer functions in zeros-and-poles representation. The function repetitively uses toZerosAndPoles.
TransferFunction s = Modelica_LinearSystems2.TransferFunction.s(); Modelica_LinearSystems2.TransferFunction tf = [1/(s^2 + 3*s +2);s/(s^2 + 2*s +1)] algorithm zp:=Modelica_LinearSystems2.TransferFunction.Conversion.toZerosAndPoles(tf); // zp = [1/( (s + 1)*(s + 2) ); s/( (s + 1)^2 )]
encapsulated function toZerosAndPolesMIMO import Modelica; import Modelica_LinearSystems2; import Modelica_LinearSystems2.ZerosAndPoles; import Modelica_LinearSystems2.TransferFunction; input TransferFunction tf[:, :] "transfer function of a system"; output ZerosAndPoles zp[size(tf, 1), size(tf, 2)]; end toZerosAndPolesMIMO;