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

fir_interp (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

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


 

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