@@ -39,21 +39,20 @@ def canonical_form(xsys, form='reachable'):
3939
4040 Examples
4141 --------
42- >>> G = ct.tf([1],[1, 3, 2])
43- >>> Gs = ct.tf2ss(G)
42+ >>> Gs = ct.tf2ss([1], [1, 3, 2])
4443 >>> Gc, T = ct.canonical_form(Gs) # default reachable
45- >>> Gc.B # doctest: +SKIP
46- matrix ([[1.],
47- [0.]])
44+ >>> Gc.B
45+ array ([[1.],
46+ [0.]])
4847
4948 >>> Gc, T = ct.canonical_form(Gs, 'observable')
50- >>> Gc.C # doctest: +SKIP
51- matrix ([[1., 0.]])
49+ >>> Gc.C
50+ array ([[1., 0.]])
5251
5352 >>> Gc, T = ct.canonical_form(Gs, 'modal')
54- >>> Gc.A # doctest: +SKIP
55- matrix ([[-2., 0.],
56- [ 0., -1.]])
53+ >>> Gc.A
54+ array ([[-2., 0.],
55+ [ 0., -1.]])
5756
5857 """
5958
@@ -87,8 +86,7 @@ def reachable_form(xsys):
8786
8887 Examples
8988 --------
90- >>> G = ct.tf([1],[1, 3, 2])
91- >>> Gs = ct.tf2ss(G)
89+ >>> Gs = ct.tf2ss([1], [1, 3, 2])
9290 >>> Gc, T = ct.reachable_form(Gs) # default reachable
9391 >>> Gc.B # doctest: +SKIP
9492 matrix([[1.],
@@ -151,8 +149,7 @@ def observable_form(xsys):
151149
152150 Examples
153151 --------
154- >>> G = ct.tf([1],[1, 3, 2])
155- >>> Gs = ct.tf2ss(G)
152+ >>> Gs = ct.tf2ss([1], [1, 3, 2])
156153 >>> Gc, T = ct.observable_form(Gs)
157154 >>> Gc.C # doctest: +SKIP
158155 matrix([[1., 0.]])
@@ -218,8 +215,7 @@ def similarity_transform(xsys, T, timescale=1, inverse=False):
218215
219216 Examples
220217 --------
221- >>> G = ct.tf([1],[1, 3, 2])
222- >>> Gs = ct.tf2ss(G)
218+ >>> Gs = ct.tf2ss([1], [1, 3, 2])
223219 >>> Gs.A # doctest: +SKIP
224220 matrix([[-3., -2.],
225221 [ 1., 0.]])
@@ -426,8 +422,7 @@ def bdschur(a, condmax=None, sort=None):
426422
427423 Examples
428424 --------
429- >>> G = ct.tf([1],[1, 3, 2])
430- >>> Gs = ct.tf2ss(G)
425+ >>> Gs = ct.tf2ss([1], [1, 3, 2])
431426 >>> amodal, tmodal, blksizes = ct.bdschur(Gs.A)
432427 >>> amodal #doctest: +SKIP
433428 array([[-2., 0.],
@@ -502,8 +497,7 @@ def modal_form(xsys, condmax=None, sort=False):
502497
503498 Examples
504499 --------
505- >>> G = ct.tf([1],[1, 3, 2])
506- >>> Gs = ct.tf2ss((G))
500+ >>> Gs = ct.tf2ss([1], [1, 3, 2])
507501 >>> Gc, T = ct.modal_form(Gs) # default reachable
508502 >>> Gc.A # doctest: +SKIP
509503 matrix([[-2., 0.],
0 commit comments