Professional Documents
Culture Documents
Martin Karlsson
TransferFunction :
1.0
----------------
s 2 + 2.0 s + 1.0
pole ( G )
-1
-1
tzero ( G )
0 - element Array { Float64 ,1}
gain ( G )
1.0
Bode Plot
0
5
10
Magnitude (dB)
15
20
25
30
35
40
45
0
20
40
Phase (deg)
60
80
100
120
140
160
180 -1
10 100 101
Frequenc (rad/s)
Martin Karlsson Evaluation of a Julia Control Toolbox
Nyquist diagram
nyquistplot ( G )
Nyquist Plot
0.8
0.6
0.4
0.2
Imaginary Axis
0.0
0.2
0.4
0.6
0.8
0.2 0.0 0.2 0.4 0.6 0.8 1.0
Real Axis
Martin Karlsson Evaluation of a Julia Control Toolbox
Step response
stepplot ( G )
Step Response
1.0
0.8
0.6
Amplitude
0.4
0.2
0.0
0 1 2 3 4 5 6 7 8
Time (s)
Martin Karlsson Evaluation of a Julia Control Toolbox
Impulse response
impulseplot ( G )
Impulse Response
0.40
0.35
0.30
0.25
Amplitude
0.20
0.15
0.10
0.05
0.00
0 1 2 3 4 5 6 7 8
Time (s)
Martin Karlsson Evaluation of a Julia Control Toolbox
Comparison with the Matlab toolbox
The code does not look similar, i.e. not just a quick conversion
Currently, the Matlab toolbox wins on w.o.