Bode
====
The frequency response of num/den: magnitude in dB (20 log10 \|H\|) and phase in degrees. For z, sample\_time sets z = exp(j w sample\_time).
``bode`` · control
.. raw:: html
Bodefn
num1
den1 1
domains
sample_time1
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``w``
- numbers
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``magnitude``
- numbers
- —
- —
* - ``phase``
- numbers
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``num``
- text
- ``"1"``
- —
* - ``den``
- text
- ``"1 1"``
- —
* - ``domain``
- enum
- ``"s"``
- ``s``, ``z``
* - ``sample_time``
- number
- ``1.0``
- —