Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

stepzd (MathScript RT Module Function)

LabVIEW 2011 MathScript RT Module Help

Edition Date: June 2011

Part Number: 373123B-01

»View Product Info

Owning Class: filter design

Requires: MathScript RT Module

Syntax

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

Description

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.

Examples

Inputs

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.

Outputs

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.

Details

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

Examples

B = [1]
A = [1, 0.2, -0.02, 1]
[R, T] = stepzd(B, A, 10)

Related Topics

freqzd
impzd


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit