Skip to content

Commit

Permalink
Merge pull request scipy#11873 from WarrenWeckesser/impulse-doc-typo
Browse files Browse the repository at this point in the history
DOC: signal: Fix ODE in impulse and impulse2 docstrings.
  • Loading branch information
ilayn authored Apr 17, 2020
2 parents e9ec381 + eef4e9b commit f7cde39
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scipy/signal/ltisys.py
Original file line number Diff line number Diff line change
Expand Up @@ -2139,7 +2139,8 @@ def impulse(system, X0=None, T=None, N=None):
Examples
--------
Second order system with a repeated root: x''(t) + 2*x(t) + x(t) = u(t)
Compute the impulse response of a second order system with a repeated
root: ``x''(t) + 2*x'(t) + x(t) = u(t)``
>>> from scipy import signal
>>> system = ([1.0], [1.0, 2.0, 1.0])
Expand Down Expand Up @@ -2225,7 +2226,8 @@ def impulse2(system, X0=None, T=None, N=None, **kwargs):
Examples
--------
Second order system with a repeated root: x''(t) + 2*x(t) + x(t) = u(t)
Compute the impulse response of a second order system with a repeated
root: ``x''(t) + 2*x'(t) + x(t) = u(t)``
>>> from scipy import signal
>>> system = ([1.0], [1.0, 2.0, 1.0])
Expand Down

0 comments on commit f7cde39

Please sign in to comment.