Transform a transfer function from zeros and poles representation zpi
into a state space description by means of a) an explicit conversion
toStateSpace
and b) a short conversion using overloading.
Show also an explicit conversion from the state space description back to the zeros and
poles representation zpo1.
function conversionToStateSpace
extends Modelica.Icons.Function;
import Modelica_LinearSystems2.StateSpace;
import Modelica_LinearSystems2.ZerosAndPoles;
input ZerosAndPoles zpi = ZerosAndPoles(k = 1, n1 = {1}, n2 = fill(0, 0, 2), d1 = fill(0, 0), d2 = [1, 1]) "ZerosAndPoles transfer function of a system";
output Boolean ok;
end conversionToStateSpace;