.Modelica_LinearSystems2.ZerosAndPoles.Conversion.toTransferFunctionMIMO

Information

Syntax

tf = ZerosAndPoles.Conversion.toStateSpacetoTransferFunctionMIMO(zp)

Description

Converts a matrix of ZerosAndPoles transfer functions denoted by the product of first and second order numerator and denominator polynomials into a matrix of transfer functions represented by (usual) numerator and denominator polynomial. The function repetitively uses toTransferFunction.

Example

  ZerosAndPoles p = Modelica_LinearSystems2.ZerosAndPoles.p();
  Modelica_LinearSystems2.ZerosAndPoles zp = [1/(p + 2)/(p + 1);p/(p + 1)/(p + 1)]

algorithm
  tf := Modelica_LinearSystems2.ZerosAndPoles.Conversion.toTransferFunction(zp);
//  tf = [1/( (p + 1)*(p + 2) ); p/( (p + 1)^2 )]

Interface

encapsulated function toTransferFunctionMIMO
  import Modelica_LinearSystems2.ZerosAndPoles;
  import Modelica_LinearSystems2.TransferFunction;
  input ZerosAndPoles zp[:, :] "ZerosAndPoles transfer function of a system";
  output TransferFunction tf[size(zp, 1), size(zp, 2)];
end toTransferFunctionMIMO;

Generated at 2024-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos