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. Apply the following syntax on the resulting model:

    % To compute impulse-response data
    [y,t,~,ysd] = impulse(model)
    % To compute step-response data
    [y,t,~,ysd] = step(model)

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

Related Topics