Owning Class: filter design
Requires: MathScript RT Module
stepzd(b)
stepzd(b, a)
stepzd(b, a, n)
stepzd(b, a, n, f)
stepzd(b, a, [], f)
[r, t] = stepzd(b)
[r, t] = stepzd(b, a)
[r, t] = stepzd(b, a, n)
[r, t] = stepzd(b, a, n, f)
[r, t] = stepzd(b, a, [], f)
Legacy Name: stepz
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.
Name | Description |
---|---|
b | Specifies the forward filter coefficients. b is a vector. |
a | Specifies the backward filter coefficients. a is a vector. The default is [1]. |
n | Specifies the number of equidistant points for which to compute a step response. If you specify [] for n, LabVIEW automatically determines the number of points. If you do not specify n, LabVIEW determines the number of points according to a. n is a positive integer or a vector of such numbers. |
f | Specifies the distance d between equidistant points, where d = 1/f. f is a positive real number. |
Name | Description |
---|---|
r | Returns the step response of the filter defined by a and b. r is a real vector. |
t | Returns the time values of the step response. t is a real vector. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | Yes (if you request output) |
Supported on RT targets | Yes (if you request output) |
Suitable for bounded execution times on RT | Not characterized |
B = [1]
A = [1, 0.2, -0.02, 1]
[R, T] = stepzd(B, A, 10)