lti_lsim
Builtin index · Signal processing
result = lti_lsim(sys, u, t, [x0], [method="foh"])
Input: sys, u, t, x0, method · 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_lsim(sys, u, t, [x0], [method="foh"]) | sys —not documented yetu vector or matrixu: a vector with one value per time sample, or a len(t) x inputs matrix for a system with several inputs.t —t: increasing sample times.x0 vector, optionalx0 (optional vector, also x0=, default zero): the initial state.method optional (default "foh")method: what a continuous system's input does between samples, "foh" (linear, the default) or "zoh" (constant). | x0 vectoroptional vector, also x0=, default zero | Returns a record {t, y, x}: the response to the input u sampled at times t, starting from state x0. u: a vector with one value per time sample, or a len(t) x inputs matrix for a system with several inputs; t: increasing sample times; x0 (optional vector, also x0=, default zero): the initial state; method: what a continuous system's input does between samples, "foh" (linear, the default) or "zoh" (constant). For a continuous system the samples are the exact solution for that input (augmented matrix exponential), and t need not be evenly spaced. A discrete system is advanced by its difference equation; t must step by its dt and method is not used. y and x as in lti_step. |
Examples
No documentation example calls this form yet. The Signal processing chapter is where one belongs.