Computes the step response of a filter. If you do not request an output, this function plots the step response in the current plot window.
stepzd(b, a, n)
stepzd(b, a, n, f)
[r, t] = stepzd(b)
[r, t] = stepzd(b, a)
[r, t] = stepzd(b, a, n)
[r, t] = stepzd(b, a, n, f)Legacy name: stepz
Forward filter coefficients. b is a vector.
Backward filter coefficients. a is a vector.
Number of equidistant points for which to compute a step response. If you specify  for n, MathScript automatically determines the number of points. If you do not specify n, MathScript determines the number of points according to a. n is a positive integer or a vector of such numbers.
Distance d between equidistant points, where d = 1/f. f is a positive real number.
Step response of the filter defined by a and b. r is a real vector.
Time values of the step response. t is a real vector.
B = ; A = [1, 0.2, -0.02, 1]; [R, T] = stepzd(B, A, 10)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices