lti_bode
Builtin index · Signal processing
result = lti_bode(sys, [w])
Input: sys, w · Output: result
What it is
No chapter describes this one yet. It exists -- the name comes from the interpreter's own table -- but the prose has not been written. That is a gap in the documentation, not in the engine.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
result = lti_bode(sys, [w]) | sys —not documented yetw vector, optionalw (optional vector): the frequencies. | w vectoroptional vector | Returns a record {w, mag_db, phase_deg}: magnitude in dB and phase in degrees at each frequency. w (optional vector): the frequencies; by default about 50 log-spaced points per decade covering every pole and zero with a decade to spare (continuous) or up to pi rad/sample (discrete). The phase is unwrapped along w, and its starting branch is set from the angles the zeros and poles contribute, so three integrators read -270 degrees rather than +90. It draws nothing: plot the vectors, e.g. semilogx(r.w, r.mag_db). Single-input single-output only. |
Examples
No documentation example calls this form yet. The Signal processing chapter is where one belongs.