functionfrequencyResponse

Compute frequency response based on zeros and poles

Information

Inputs

TypeNameDefaultDescription
RealgainGain of transfer function
Real[:,2]ZerosZeros as Real matrix (first column: real, second column imaginary values)
Real[:,2]PolesPoles as Real matrix (first column: real, second column imaginary values)
IntegernPoints200Number of points
BooleanautoRangetrue= true, if abszissa range is automatically determined
SI.Frequencyf_min0.1Minimum frequency value, if autoRange = false
SI.Frequencyf_max10Maximum frequency value, if autoRange = false
BooleanHztrue= true, to compute abszissa in [Hz], otherwise in [rad/s] (= 2*pi*Hz)
BooleandBfalse= true, to compute magnitude in [], otherwise in [dB] (=20*log10(value))
BooleanlogXtrue= true, to compute abszissa values for logarithmic scale

Outputs

TypeNameDefaultDescription
Real[nPoints]fFrequency vector (either in Hz or rad/s)
Real[nPoints]AAmplitude (either without unit or in dB)
Modelica.Units.NonSI.Angle_deg[nPoints]phiAngles in degree