Raised Cosine Receive Filter - Filter input signal, possibly downsampling, using raised cosine FIR filter

Library

Comm Filters

Description

The Raised Cosine Receive Filter block filters the input signal using a normal raised cosine FIR filter or a square root raised cosine FIR filter. It also downsamples the filtered signal if you set the Output mode parameter to Downsampling. The FIR Decimation block implements this functionality. The Raised Cosine Receive Filter block's icon shows the filter's impulse response.

Characteristics of the Filter

Characteristics of the raised cosine filter are the same as in the Raised Cosine Transmit Filter block, except that the length of the filter's input response has a slightly different expression: 2 * N * Group delay + 1, where N is the value of the Input samples per symbol parameter (not the Upsampling factor parameter, as in the case of the Raised Cosine Transmit Filter block).

If the Filter gain parameter is chosen to be User-specified, then the passband gain of the filter is:

Downsampling the Filtered Signal

To have the block downsample the filtered signal, set the Output mode parameter to Downsampling. By default, downsampling is on. If L is the Downsampling factor parameter value, then the block retains 1/L of the samples, choosing them as follows:

To preserve the entire filtered signal and avoid downsampling, set Output mode to None. This setting is appropriate, for example, when the output from the filter block forms the input to a timing phase recovery block such as Squaring Timing Recovery. The timing phase recovery block performs the downsampling in that case.

The underlying implementation varies as follows:

Input and Output Signals

The input signal must be a scalar value or a frame-based column vector. The block supports double, single, and fixed-point data types. You can select either Maintain input frame size or Maintain input frame rate for the Framing parameter.

If you set Output mode to None, then the input and output signals share the same sampling mode, sample time, and vector length.

If you set Output mode to Downsampling and Downsampling factor is L, then L and the input sampling mode determine characteristics of the output signal:

Exporting Filter Coefficients to the MATLAB Workspace

To examine or manipulate the coefficients of the filter that this block designs, select Export filter coefficients to workspace. Then set the Coefficient variable name parameter to the name of a variable that you want the block to create in the MATLAB workspace. Running the simulation causes the block to create the variable, overwriting any previous contents in case the variable already exists.

Dialog Box

Filter type

The type of raised cosine filter: Square root or Normal.

Input samples per symbol

An integer greater than 1 representing the number of samples per symbol in the input signal.

Group delay

A positive integer that represents the number of symbol periods between the start of the filter response and its peak.

Rolloff factor

The rolloff factor for the filter, a real number between 0 and 1.

Framing

Selects the framing method. The framing method choices are: Maintain input frame size or Maintain input frame rate .

Output mode

Determines whether or not the block downsamples the signal after filtering. Choices are Downsampling and None.

Downsampling factor

The factor by which the block downsamples the signal after filtering. This field appears only if Output mode is set to Downsampling.

Sample offset

The number of filtered samples the block discards before downsampling. This field appears only if Output mode is set to Downsampling.

Filter gain

Determines how the block scales the filter coefficients. Choices are Normalized and User-specified.

Linear amplitude filter gain

A positive scalar used to scale the filter coefficients. This field appears only if Filter gain is set to User-specified.

Export filter coefficients to workspace

If you check this box, then the block creates a variable in the MATLAB workspace that contains the filter coefficients.

Coefficient variable name

The name of the variable to create in the MATLAB workspace. This field appears only if Export filter coefficients to workspace is selected.

Visualize filter with FVTool

If you click this button, then MATLAB launches the Filter Visualization Tool, fvtool, to analyze the raised cosine filter whenever you apply any changes to the block's parameters. If you launch fvtool for the filter, and subsequently change parameters in the mask, fvtool will not update. You will need to launch a new fvtool in order to see the new filter characteristics. Also note that if you have launched fvtool, then it will remain open even after the model is closed.

Rounding mode

Select the rounding mode for fixed-point operations. The filter coefficients do not obey this parameter; they always round to Nearest.

Overflow mode

Select the overflow mode for fixed-point operations. The filter coefficients do not obey this parameter; they are always saturated.

Coefficients

Choose how you specify the word length and the fraction length of the filter coefficients (numerator and/or denominator).

See the Coefficients section of the FIR Decimation help page and Filter Structure Diagrams in Signal Processing Blockset Reference Guide for illustrations depicting the use of the coefficient data types in this block:

See the Coefficients subsection of the Digital Filter help page for descriptions of parameter settings.

Product output

Use this parameter to specify how you would like to designate the product output word and fraction lengths. See Filter Structure Diagrams and Multiplication Data Types in Signal Processing Blockset Reference Guide for illustrations depicting the use of the product output data type in this block:

Accumulator

Use this parameter to specify how you would like to designate the accumulator word and fraction lengths. See Filter Structure Diagrams and Multiplication Data Types for illustrations depicting the use of the accumulator data type in this block:

Output

Choose how you specify the output word length and fraction length:

Lock scaling against changes by the autoscaling tool

Select this parameter to prevent any fixed-point scaling you specify in this block mask from being overridden by the autoscaling tool in the Fixed-Point Tool.

Pair Block

Raised Cosine Transmit Filter

See Also

Gaussian Filter, rcosine, rcosflt

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS