Bode plot of PT2 transfer function with zero damping
function plotBode2 extends Modelica.Icons.Function; import Modelica_LinearSystems2.TransferFunction; import Modelica_LinearSystems2.ZerosAndPoles; input Modelica.Units.SI.Frequency f_cut = 10 "Cut-off frequency of denominator PT2"; input Real D = 0 "Damping of denominator PT2"; input Real k = 1 "Gain"; input Integer nPoints = 1000; output Boolean ok; end plotBode2;