Signal Toolkit - stepz


Function File: [x, t] = stepz (b)
Function File: [x, t] = stepz (b, a)
Function File: [x, t] = stepz (b, a, n)
Function File: [x, t] = stepz (b, a, n, fs)
Function File: stepz (…)

Generate step-response characteristics of the filter.

The filter coefficients correspond to the z-plane rational function with numerator b and denominator a. If a is not specified, it defaults to 1. When n is a scalar, it specifies the number of points to compute (default: determined by impzlength). When n is a vector of non-negative integers, the response is computed only at those sample indices. The sampling frequency fs (default: 1) controls the time spacing in the output t. With no output arguments, the result is plotted.

See also: freqz, zplane, impz, impzlength.