伝達関数の極と零点【control】
code:pzmap1.py
from control import matlab as ctmt
import matplotlib.pyplot as plt
num = 1, 2
den = 1, 2, 1, 1
G = ctmt.tf(num, den)
print(G)
poles, zeros = ctmt.pzmap(G)
print('poles:\n', poles)
print('zeros:\n', zeros)
plt.grid()
plt.show()
関数pzmapの戻り値は極と零点が格納された配列
https://scrapbox.io/files/6683bf56c9c517001ce158a9.png
全ての極の実数部が負(複素平面上の左半面)に存在すれば安定。