.Modelica_LinearSystems2.WorkInProgress.Old.analysisZerosAndPoles

Information

This example shows the computation of the poles and zeros of state space system.

Interface

function analysisZerosAndPoles
  import Modelica;
  import Modelica.Utilities.Streams.print;
  import Modelica_LinearSystems2.Math.Complex;
  import Modelica_LinearSystems2.TransferFunction;
  import Modelica_LinearSystems2.StateSpace;
  import Modelica_LinearSystems2.ZerosAndPoles;
  input Complex z[:] = {-2 + 0*j, -3 + 4*j, -3 - 4*j} "Zeros (Complex vector of numerator zeros)";
  input Complex p[:] = {-0.5 + 0*j, -5 + 2*j, -5 - 2*j} "Poles (Complex vector of denominator zeros)";
  input Real k = 1.0 "Constant multiplied with transfer function";
end analysisZerosAndPoles;

Generated at 2024-03-27T19:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos