Compute filter and plot frequency response of filter
function plotBodeFilter1 extends Modelica.Icons.Function; import Modelica_LinearSystems2.ZerosAndPoles; import Modelica_LinearSystems2.Utilities.Types; input Types.AnalogFilter analogFilter = Types.AnalogFilter.CriticalDamping "Analog filter characteristics (CriticalDamping/Bessel/Butterworth/Chebyshev)"; input Integer order = 2; input Modelica.Units.SI.Frequency f_cut = 10; output Boolean ok; end plotBodeFilter1;