Commit 21d7aad6 authored by mohamedadelnaguib's avatar mohamedadelnaguib
Browse files

Extending the LTI tutorial with another bode_plot function call with the new arguments

parent f75c4fbb
......@@ -331,6 +331,22 @@ fig, axs = plt.subplots(6, 2, figsize=(8, 10), sharex=True, constrained_layout=T
_ = fom.transfer_function.bode_plot(w, ax=axs)
In the Bode plot visualization, you can choose a specific one or more input-output pair
to display its plot by setting values for both the optional arguments ```input_indices``` and/or
```output_indices```. In case you did not pass values for both of these arguments, a
plot with all possible input-output paris will be displayed.
fig, axs = plt.subplots(1, 1, figsize=(8, 10), sharex=True, constrained_layout=True)
_ = fom.transfer_function.bode_plot(w, ax=axs, input_indices=[1], output_indices=[0])
As a result of the above function call, a plot that shows the relation between the second
input {math}`u_2` and first output {math}`y_1`.
P.S. In the case of input-output selection and passing a custom axis, make sure to pass
it an appropriate axis shape that matches your selection.
## System poles
The poles of an LTI system are the poles of its transfer function.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment