Owning Class: filter design
Requires: MathScript RT Module
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
Designs an interpolation FIR filter.
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. |
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. |
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 |
r = 3;
n = 2;
[b, a] = fir_interp(r, n, 'Lagrange')
r = 3;
l = 2;
alpha = 1;
b = fir_interp(r, l, alpha)