functionplotBodeSISODiscrete

Plots the Bode diagram of continuous state space system and the corresponding discrete state space system and with automatic determination of the frequency range to plot

Inputs

TypeNameDefaultDescription
BooleansystemOnFilefalseTrue, if state space system is defined on file
StringfileName"NoName"file where matrix [A, B; C, D] is stored
Real[:,size(A, 1)]A[-1.0, 0.0, 0.0; 0.0, -2.0, 0.0; 0.0, 0.0, -3.0]
Real[size(A, 2),:]B[0.0, 1.0; 1.0, 1.0; -1.0, 0.0]
Real[:,size(A, 1)]C[0.0, 1.0, 1.0; 1.0, 1.0, 1.0]
Real[size(C, 1),size(B, 2)]D[1.0, 0.0; 0.0, 1.0]
Modelica.Units.SI.TimeTs0.1Sample time
Modelica_LinearSystems2.Utilities.Types.MethodmethodModelica_LinearSystems2.Utilities.Types.Method.StepExactDiscretization method
Integeriu1index of input
Integeriy1index of output

Outputs

TypeNameDefaultDescription
Booleanok