Seungwan's repository
JUST DO IT.
Mar 19, 2023
[Python] control module로 전달함수 정의 (Define a transfer function using control module)
import
control
as
ct
import
numpy
as
np
tf_num
=
np
.
array
([
1
])
tf_den
=
np
.
array
([
1
,
6
,
5
,
0
])
sys_tf
=
ct
.
tf
(
tf_num
,
tf_den
)
print
(
sys_tf
)
Output
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment