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

rcos (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 = 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

Description

Designs a raised cosine filter.

Examples

Inputs

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:

'default' (default) Designs an FIR raised cosine filter.
'FIR' Designs an FIR filter.
'IIR' Designs an IIR filter.
'normal' Designs a raised cosine filter.
'sqrt' Designs a square root raised cosine filter.
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.

Outputs

Name Description
b Returns the numerator of the raised cosine filter under design.
a Returns the denominator of the raised cosine filter under design.

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

[B, A] = rcos(4, 20, 'iir/sqrt', 0.15, 4, 0.12);

Related Topics

fir_remez
iir_maxflat
iir_yulewalker


 

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