.Modelica_LinearSystems2.WorkInProgress.DiscreteTransferFunction.'constructor'.fromPolynomials

Information

Generate a DiscreteTransferFunction data record from a numerator and denominator polynomial

Interface

function fromPolynomials
  import Modelica;
  import Modelica_LinearSystems2;
  import Modelica_LinearSystems2.WorkInProgress.DiscreteTransferFunction;
  import Modelica_LinearSystems2.Math.Polynomial;
  input Polynomial n "Numerator polynomial";
  input Polynomial d "Denominator polynomial";
  input Modelica.Units.SI.Time Ts "Sample time";
  input Modelica_LinearSystems2.Utilities.Types.Method method = Modelica_LinearSystems2.Utilities.Types.Method.Trapezoidal "Discretization method";
  input String uName = "" "input name";
  input String yName = "" "output name";
  output DiscreteTransferFunction dtf(n = n.c, d = d.c, Ts = Ts, method = method, uName = uName, yName = yName);
end fromPolynomials;

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