fir_interp (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: filter design

Requires: MathScript RT Module

Syntax

b = fir_interp(r, l, alpha)

b = fir_interp(r, n, 'Lagrange')

[b, a] = fir_interp(r, l, alpha)

[b, a] = fir_interp(r, n, 'Lagrange')

Legacy Name: intfilt

Description

Designs an interpolation FIR filter.

Examples

Inputs

Name Description
r Specifies the number of zeros to insert between each sample.
l Specifies the number of samples used to interpolate.
alpha LabVIEW multiplies alpha by the Nyquist frequency. alpha is a real number between 0 and 1.
n Specifies the order of the Lagrange polynomial.
'Lagrange' Directs LabVIEW to design an FIR filter that performs Lagrange polynomial interpolation.

Outputs

Name Description
b Returns the numerator coefficients of the filter. b is a vector.
a Returns the denominator coefficients of the filter. a is a vector.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

r = 3;
n = 2;
[b, a] = fir_interp(r, n, 'Lagrange')

r = 3;
l = 2;
alpha = 1;
b = fir_interp(r, l, alpha)

Related Topics

resample

文章是否对您有帮助?

没有帮助