.Modelica.Blocks.Continuous.Internal.Filter.Utilities.toHighestPowerOne

Information

Transform filter to form with highest power of s equal 1

Interface

function toHighestPowerOne
  extends Modelica.Icons.Function;
  input Real den1[:] "[s] coefficients of polynomials (den1[i]*s + 1)";
  input Real den2[:, 2] "[s^2, s] coefficients of polynomials (den2[i,1]*s^2 + den2[i,2]*s + 1)";
  output Real cr[size(den1, 1)] "[s^0] coefficients of polynomials cr[i]*(s+1/cr[i])";
  output Real c0[size(den2, 1)] "[s^0] coefficients of polynomials (s^2 + (den2[i,2]/den2[i,1])*s + (1/den2[i,1]))";
  output Real c1[size(den2, 1)] "[s^1] coefficients of polynomials (s^2 + (den2[i,2]/den2[i,1])*s + (1/den2[i,1]))";
end toHighestPowerOne;

Generated at 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39