.Modelica_LinearSystems2.TransferFunction.Conversion.toZerosAndPolesMIMO

Information

Syntax

zp = TransferFunction.Conversion.toZerosAndPolesMIMO(tf)

Description

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.

Example

  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 )]

Interface

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;

Generated at 2021-01-19T02:00:07Z by OpenModelicaOpenModelica 1.17.0~dev-342-gcbdefcd using GenerateDoc.mos