Skip to content

Commit

Permalink
DOC: Fix broken doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
endolith committed Oct 15, 2015
1 parent 119fc63 commit 1e8ee7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scipy/signal/ltisys.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def tf2ss(num, den):
>>> C
array([[ 1., 2.]])
>>> D
array([ 1.]
array([ 1.])
"""
# Controller canonical state-space representation.
# if M+1 = len(num) and K+1 = len(den) then we must have M <= K
Expand Down Expand Up @@ -266,7 +266,7 @@ def ss2tf(A, B, C, D, input=0):
>>> from scipy.signal import ss2tf
>>> ss2tf(A, B, C, D)
(array([[1, 3, 3]]), array([ 1., 2., 1.])
(array([[1, 3, 3]]), array([ 1., 2., 1.]))
"""
# transfer function is C (sI - A)**(-1) B + D

Expand Down

0 comments on commit 1e8ee7a

Please sign in to comment.