Skip to content

Commit f0e2d74

Browse files
committed
Follow-on to 5f34a7b
1 parent 5f34a7b commit f0e2d74

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

control/tests/margin_test.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,6 @@ def test_siso_disk_margin():
377377
# Frequencies of interest
378378
omega = np.logspace(-1, 2, 1001)
379379

380-
# Laplace variable
381-
s = tf('s')
382-
383380
# Loop transfer function
384381
L = tf(25, [1, 10, 10, 10])
385382

@@ -400,9 +397,6 @@ def test_mimo_disk_margin():
400397
# Frequencies of interest
401398
omega = np.logspace(-1, 3, 1001)
402399

403-
# Laplace variable
404-
s = tf('s')
405-
406400
# Loop transfer gain
407401
P = ss([[0, 10],[-10, 0]], np.eye(2), [[1, 10], [-10, 1]], [[0, 0],[0, 0]]) # plant
408402
K = ss([],[],[], [[1, -2], [0, 1]]) # controller

examples/disk_margins.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"""
44

55
import os
6-
import math
76
import control
8-
import matplotlib
97
import matplotlib.pyplot as plt
108
import numpy as np
119

0 commit comments

Comments
 (0)