Skip to content
MAE_171A.git
⋮
Summary
Commits
Files
MAE_171A.git
/
hw4
/
prob_1.py
Introduction to Feedback and Control Systems: Dynamic Systems Control
View raw
1
import
numpy
as
np
2
import
control
3
import
matplotlib
.
pyplot
as
plt
4
5
#
L = control.TransferFunction((1), (1, 6, 5, 0, 0))
6
#
L = control.TransferFunction((1, 2), (1, 10, 0, 0))
7
L
=
control
.
TransferFunction
(
(
1
,
1
)
,
(
1
,
-
3
,
0
)
)
8
9
rlist
,
klist
=
control
.
rlocus
(
L
,
kvect
=
np
.
linspace
(
100
,
-
100
,
num
=
1000
)
)
10
11
plt
.
show
(
)
12
Summary
Commits
Files