![]() | Download Help (Windows Only) |
Owning Class: filter design
Requires: MathScript RT Module
b = rcos(Fd, Fs)
[b, a] = rcos(Fd, Fs, type)
[b, a] = rcos(Fd, Fs, type, r)
[b, a] = rcos(Fd, Fs, type, r, d)
[b, a] = rcos(Fd, Fs, type, r, d, t)
Legacy Name: rcosine
Designs a raised cosine filter.
Name | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fd | Specifies the sampling frequency of the input signal. | ||||||||||
Fs | Specifies the sampling frequency of the filter. | ||||||||||
type | Specifies the designed filter's type. type is a string that accepts the following values or their combinations:
|
||||||||||
r | Specifies the rolloff factor, which is in the range [0, 1]. The default is 0.5. | ||||||||||
d | Specifies the designed filter's group delay. The default is 3. | ||||||||||
t | Specifies the threshold when truncating an FIR filter into the IIR filter. The default is 0.01. |
Name | Description |
---|---|
b | Returns the numerator of the raised cosine filter under design. |
a | Returns the denominator of the raised cosine filter under design. |
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 |
[B, A] = rcos(4, 20, 'iir/sqrt', 0.15, 4, 0.12);
Helpful
Not Helpful