step

Functions

int main(int argc, char *argv[])

step [ option ]

  • -l int

    • output length \((1 \le L)\)

  • -m int

    • output order \((0 \le L - 1)\)

  • -v double

    • step value \((V)\)

  • stdout

    • double-type step sequence

The output of this command is

\[ \begin{array}{cccc} V, & V, & \ldots, & V \end{array} \]
where the output length is \(L\). If \(L\) is not given, an infinite step sequence is generated.

In the below example, the step response of a ditital filter is calculated and shown on the screen.

step -l 256 | dfs -a 1 -0.8 | dmp +d
Parameters:
  • argc[in] Number of arguments.

  • argv[in] Argument vector.

Returns:

0 on success, 1 on failure.

See also

impulse ramp train sin