Qu

step_info

Builtin index · Signal processing

result = step_info(y, [fs=1])

Input: y, fs · Output: result

What it is

y: a step response (real vector); fs (number, Hz, default 1) turns sample counts into seconds.

Overloads

One call shape — this function is not overloaded.

CodeInputOutputDescription
result = step_info(y, [fs=1])
y vectory: a step response (real vector).
fs number, optional (default 1)fs (number, Hz, default 1) turns sample counts into seconds.
result —
Returns a record {final, rise_time (10-90 %), settling_time (2 %), overshoot_pct, peak, peak_time, tau (first time at 63.2 % of final), delay_time (50 %)}. Errors when y is empty or settles to zero.

Examples

No documentation example calls this form yet. The Signal processing chapter is where one belongs.

How it works

step_info(y, [fs=1]) -- rise (10-90 %), settling (2 %), overshoot, peak, tau (63.2 %) and delay (50 %) of a step response y.

From the note above this builtin in the interpreter, where the reasoning was written down as it was built.