8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b2998 commit b12e132Copy full SHA for b12e132
control/tests/matlab_test.py
@@ -257,7 +257,7 @@ def testMargin(self):
257
gm, pm, wg, wp = margin(self.siso_ss2);
258
gm, pm, wg, wp = margin(self.siso_ss2*self.siso_ss2*2);
259
np.testing.assert_array_almost_equal(
260
- [gm, pm, wg, wp], [1.5451, 75.9933, 0.6559, 1.2720], decimal=3)
+ [gm, pm, wg, wp], [1.5451, 75.9933, 1.2720, 0.6559], decimal=3)
261
262
def testDcgain(self):
263
#Create different forms of a SISO system
@@ -608,8 +608,8 @@ def testCombi01(self):
608
# print("%f %f %f %f" % (gm, pm, wg, wp))
609
self.assertAlmostEqual(gm, 3.32065569155)
610
self.assertAlmostEqual(pm, 46.9740430224)
611
- self.assertAlmostEqual(wg, 0.0616288455466)
612
- self.assertAlmostEqual(wp, 0.176469728448)
+ self.assertAlmostEqual(wg, 0.176469728448)
+ self.assertAlmostEqual(wp, 0.0616288455466)
613
614
#! TODO: not yet implemented
615
# def testMIMOtfdata(self):
0 commit comments