Download Help (Windows Only) 
Owning Class: filter design
Requires: MathScript RT Module
b = fir_rcos(n, fc, bw)
b = fir_rcos(n, fc, bw, fs)
b = fir_rcos(n, fc, bw, fs, type)
b = fir_rcos(n, fc, bw, fs, type, d)
b = fir_rcos(n, fc, bw, fs, type, d, w)
b = fir_rcos(n, fc, r, fs, s)
b = fir_rcos(n, fc, r, fs, s, type)
b = fir_rcos(n, fc, r, fs, s, type, d)
b = fir_rcos(n, fc, r, fs, s, type, d, w)
[b, a] = fir_rcos(n, fc, bw)
[b, a] = fir_rcos(n, fc, bw, fs)
[b, a] = fir_rcos(n, fc, bw, fs, type)
[b, a] = fir_rcos(n, fc, bw, fs, type, d)
[b, a] = fir_rcos(n, fc, bw, fs, type, d, w)
[b, a] = fir_rcos(n, fc, r, fs, s)
[b, a] = fir_rcos(n, fc, r, fs, s, type)
[b, a] = fir_rcos(n, fc, r, fs, s, type, d)
[b, a] = fir_rcos(n, fc, r, fs, s, type, d, w)
Legacy Name: firrcos
Designs a raised cosine FIR filter.
Name  Description  

n  Specifies the order of the filter. n is a positive integer.  
fc  Specifies the cutoff frequency of the filter. fc must be greater than 0 and less than fs/2.  
bw  Specifies the transition bandwidth. bw must be greater than 0. [fcbw/2, fc+bw/2] must fall in the range [0, fs/2].  
fs  Specifies the sampling frequency. fs must be greater than 0. The default is 2.  
type  Specifies the type of filter to design. type is a string that accepts the following values:


d  Specifies the delay. d is a positive integer. The default is ceil(n/2).  
w  Specifies the window to apply to the filter in order to reduce the ripple in the frequency response. w is a vector with length n + 1.  
r  Specifies the transition bandwidth or the rolloff factor, depending on the value of s. The rolloff factor is equivalent to bw/(2*fc).  
s  Specifies the meaning of r. s is a string that accepts the following values:

Name  Description 

b  Returns the numerator of the filter under design. b is the forward filter coefficient of order n. b is a real vector. 
a  Returns the denominator of the filter under design. a is the backward filter coefficient of order n. a is always [1]. 
The following table lists the support characteristics of this function.
Supported in the LabVIEW RunTime Engine  Yes 
Supported on RT targets  Yes 
Suitable for bounded execution times on RT  Not characterized 
fir_rcos(5, 0.5, 0.1, 2, 'sqrt')