Main Content

Compute Response Values

You can use impulse and step commands with output arguments to get the numerical impulse- and step-response vectors as a function of time, respectively.

To get the numerical response values:

  1. Compute the FIR model by using impulseest, as described in Estimate Impulse-Response Models at the Command Line.

  2. Compute the response of the resulting model.

    • Compute impulse-response data.

      [y,t,~,ysd] = impulse(model)
    • Compute step-response data.

      [y,t,~,ysd] = step(model)

    Here, y is the response data, t is the time vector, and ysd is the standard deviations of the response.

Related Topics