Signal Sources


Every communication system has one or more signal sources. This chapter describes how to use the Communications Toolbox to generate random signals, which are useful for simulating noise, errors, or signal sources. The sections are as follows.

White Gaussian NoiseUsing wgn to generate white Gaussian noise
Random SymbolsUsing randsrc to generate random symbols
Random IntegersUsing randint to generate uniformly distributed random integers
Random Bit Error PatternsUsing randerr to generate random bit error patterns, as in a model of channel errors

For more general random number generators, see the online reference pages for the built-in MATLAB functions rand and randn.


© 1994-2005 The MathWorks, Inc.