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:
Compute the FIR model by using
impulseest
, as described in Estimate Impulse-Response Models at the Command Line.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, andysd
is the standard deviations of the response.