.Modelica_LinearSystems2.WorkInProgress.DiscreteTransferFunction.'constructor'.fromArrays

Information

Generate a DiscreteTransferFunction data record from numerator and denominator array

Interface

encapsulated function fromArrays
  import Modelica;
  import Modelica_LinearSystems2.WorkInProgress.DiscreteTransferFunction;
  import Modelica_LinearSystems2;
  input Real n[:] "Coefficients of numerator polynomial";
  input Real d[:] "Coefficients of 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(redeclare Real n[size(n, 1)], redeclare Real d[size(d, 1)]) "Transfer function";
end fromArrays;

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