Communications Blockset    

Communications Sources

Every communication system contains one or more sources. You can open the Comm Sources library by double-clicking its icon in the main Communications Blockset library (commlib), or by typing commsource2 at the MATLAB prompt.

The Comms Sources library contains four sublibraries:

Controlled Sources

You can open the Controlled Sources sublibrary by double-clicking on its icon in the Comm Sources library (commsource2), or by typing commcontsrc2 at the MATLAB prompt.

The table below lists and describes the blocks in the Controlled Sources library. For information about a specific block, see the reference pages that follow.

Block Name 
Purpose 
Discrete-Time VCO
Implement a voltage-controlled oscillator in discrete time
Triggered Read From File
Read from a file, refreshing the output at rising edges of an input signal
Voltage-Controlled Oscillator
Implement a voltage-controlled oscillator

Data Sources

You can open the Data Sources sublibrary by double-clicking on its icon in the Comm Sources library (commsource2), or by typing commrandsrc2 at the MATLAB prompt.

The table below lists and describes the blocks in the Data Sources sublibrary. For information about a specific block, see the reference pages that follow.

Block Name 
Purpose 
Bernoulli Binary Generator
Generate Bernoulli-distributed random binary numbers
Binary Error Pattern Generator
Generate a binary vector while controlling the number of 1s
Poisson Integer Generator
Generate Poisson-distributed random integers
Random Integer Generator
Generate integers randomly distributed in the range [0, M-1]

Noise Generators

You can open the Noise Generators sublibrary by double-clicking on its icon in the Comm Sources library (commsource2), or by typing commnoisgen2 at the MATLAB prompt.

The table below lists and describes the blocks in the Noise Generators sublibrary. For information about a specific block, see the reference pages that follow.

Block Name 
Purpose 
Gaussian Noise Generator
Generate Gaussian distributed noise with given mean and variance values
Rayleigh Noise Generator
Generate Rayleigh distributed noise
Rician Noise Generator
Generate Rician distributed noise
Uniform Noise Generator
Generate uniformly distributed noise between the upper and lower bounds

Sequence Generators

You can open the Sequence Generators sublibrary by double-clicking on its icon in Comm Sources library (commsource2), or by typing commseqgen2 at the MATLAB prompt.

The table below lists and describes the blocks in the Sequence Generators sublibrary. For information about a specific block, see the reference pages that follow.

Block Name 
Purpose 
Barker Code Generator
Generate a Barker Code
Gold Sequence Generator
Generate a Gold sequence from a set of sequences
Kasami Sequence Generator
Generate a Kasami sequence from the set of Kasami sequences
Hadamard Code Generator
Generate a Hadamard code from an orthogonal set of codes
OVSF Code Generator
Generate an orthogonal variable spreading factor (OVSF) code from a set of orthogonal codes
PN Sequence Generator
Generate a pseudonoise sequence
Walsh Code Generator
Generate a Walsh code from an orthogonal set of codes


  Block Reference Communications Sinks