Documentation |
Step response for filter
[h,t]
= stepz(hfilt)
[h,t]
= stepz(hfilt,n)
[h,t]
= stepz(hfilt,n,fs)
[h,t]
= stepz(hfilt,[],fs)
stepz(hfilt)
[h,t]
= stepz(hs)
[h,t] =
stepz(hs,Name,Value)
stepz(hs)
stepz returns the step response based on the current filter coefficients. This section describes common stepz operation with adaptive filters, discrete-time filters, multirate filters, and filter System objects. For more input options, refer to stepz in Signal Processing Toolbox™ documentation.
[h,t] = stepz(hfilt) returns the impulse response h and the corresponding time points w at which the step response of hfilt is computed. The step response is evaluated at 10 1-second intervals—(0:9)'.
[h,t] = stepz(hfilt,n) returns the step response evaluated at floor(n) 1-second intervals—(0:floor(n)-1)'.
[h,t] = stepz(hfilt,n,fs) returns the step response evaluated at floor(n) 1/fs-second intervals—(0:floor(n)-1)'/fs.
[h,t] = stepz(hfilt,[],fs) returns the step response evaluated at 10 1/fs-second intervals—(0:9)'/fs.
stepz(hfilt) uses FVTool to plot the step response of the filter. You can also provide the optional input arguments n and fs with this syntax.
[h,t] = stepz(hs) returns the step response for the filter System object™ hs. The impulse response is evaluated at 10 1-second intervals—(0:9)'. You can also provide the optional input arguments n and fs with this syntax.
[h,t] = stepz(hs,Name,Value) returns an step response with additional options specified by one or more Name,Value pair arguments.
stepz(hs) uses FVTool to plot the step response of the filter System object hs.
h |
Complex, n-element step response vector. If hfilt is a vector of filters, h is a complex, length(hfilt)-by-n matrix of step response vectors corresponding to each filter in hfilt. If n is not specified, the function uses a default value of 8192. For adaptive filters, h is the instantaneous step response. |
t |
Time vector of length n, in seconds. t consists of n points equally spaced from 0 to floor(n)/fs. If n is not specified, the function uses a default value of 10. If fs is not specified, the function uses a default value of 1. |