Skip to content

Commit 8e123aa

Browse files
committed
fix typos pointed out by @slivingston
1 parent 88e2945 commit 8e123aa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

control/nlsys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ def input_output_response(
14621462
# Process input argument
14631463
#
14641464
# The input argument is interpreted very flexibly, allowing the
1465-
# use of listsa and/or tuples of mixed scalar and vector elements.
1465+
# use of lists and/or tuples of mixed scalar and vector elements.
14661466
#
14671467
# Much of the processing here is similar to the processing in
14681468
# _process_vector_argument, but applied to a time series.

doc/iosys.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ is done:
216216
* Vector elements are zero padded to the required length. If you
217217
specify only a portion of the values for states or inputs, the
218218
remaining values are taken as zero. (If the final element in the
219-
given vector is non-zero, a warning is issues.)
219+
given vector is non-zero, a warning is issued.)
220220

221221
Similar processing is done for input time series, used for the
222222
:func:`~control.input_output_response` and
@@ -251,16 +251,16 @@ In this command, the states and the inputs are broadcast to the size of the
251251
state and input vectors, respectively.
252252

253253
If we want to linearize the closed loop system around a process state
254-
``x0`` (with two elemenst) and an estimator state ``0`` (for both states),
254+
``x0`` (with two elements) and an estimator state ``0`` (for both states),
255255
we can use the list processing feature::
256256

257-
H = clsys.liniearize([x0, 0], 0)
257+
H = clsys.linearize([x0, 0], 0)
258258

259259
Note that this also utilizes the zero-padding functionality, since the
260260
second argument in the list ``[x0, 0]`` is a scalar and so the vector
261261
``[x0, 0]`` only has three elements instead of the required four.
262262

263-
To run an input/output simulation with a sinsoidal signal for the first
263+
To run an input/output simulation with a sinusoidal signal for the first
264264
input, a constant for the second input, and no external disturbance, we can
265265
use the list processing feature combined with time series broadcasting::
266266

0 commit comments

Comments
 (0)