Determine min. and max. frequencies for Bode plot (Zeros and Poles as Real matrix)
function frequencyRangeBode2 extends Modelica.Icons.Function; input Real Zeros[:, 2] "Zeros as Real matrix (first column: real, second column imaginary values)"; input Real Poles[:, 2] "Poles as Real matrix (first column: real, second column imaginary values)"; output Modelica.Units.SI.AngularVelocity w_min "Minimum angular frequency"; output Modelica.Units.SI.AngularVelocity w_max "Maximum angular frequency"; end frequencyRangeBode2;