Main Content

Sources and Sinks

Input and output signals and sequences

Generate signal source data and noise to simulate communication links. Visualize and analyze the performance of your communications system simulation.


Wireless Waveform GeneratorCreate, impair, visualize, and export modulated waveforms


expand all

randiUniformly distributed pseudorandom integers
randerrGenerate bit error patterns
randsrcGenerate random matrix using prescribed alphabet
commsrc.combinedjitterConstruct combined jitter generator object
commsrc.patternConstruct pattern generator object
zadoffChuSeqGenerate root Zadoff-Chu sequence
mask2shiftConvert mask vector to shift for shift register configuration
shift2maskConvert shift to mask vector for shift register configuration
wgnGenerate white Gaussian noise samples
biterrNumber of bit errors and bit error rate (BER)
eyediagramGenerate eye diagram
scatterplotGenerate scatter plot
symerrCompute number of symbol errors and symbol error rate


expand all

comm.BarkerCodeGenerate bipolar Barker code
comm.BasebandFileReaderRead baseband signals from file
comm.GoldSequenceGenerate Gold sequence from set of sequences
comm.HadamardCodeGenerate Hadamard code
comm.KasamiSequenceGenerate Kasami sequence
comm.OVSFCodeGenerate OVSF code
comm.PNSequenceGenerate a pseudonoise (PN) sequence
comm.RBDSWaveformGeneratorGenerate RDS/RBDS waveform
comm.WalshCodeGenerate Walsh code from orthogonal set of codes
comm.BasebandFileWriterWrite baseband signals to file
comm.ConstellationDiagramDisplay constellation diagram for input signals


expand all

Barker Code GeneratorGenerate bipolar Barker Code
Baseband File ReaderRead baseband signals from file
Bernoulli Binary GeneratorGenerate Bernoulli-distributed random binary numbers
Gold Sequence GeneratorGenerate Gold sequence from set of sequences
Hadamard Code GeneratorGenerate Hadamard code from orthogonal set of codes
Kasami Sequence GeneratorGenerate Kasami sequence from set of Kasami sequences
OVSF Code GeneratorGenerate orthogonal variable spreading factor (OVSF) code from set of orthogonal codes
PN Sequence GeneratorGenerate pseudonoise sequence
Poisson Integer GeneratorGenerate Poisson-distributed random integers
Random Integer GeneratorGenerate integers randomly distributed in specified range
Walsh Code GeneratorGenerate Walsh code from orthogonal set of codes
Baseband File WriterWrite baseband signals to file
Constellation DiagramDisplay constellation diagram for input signals
Eye Diagram ScopeDisplay eye diagram of time-domain signal


Use Wireless Waveform Generator App

Create, impair, visualize, and export modulated waveforms.

Signal Terminology

Define terms related to matrices, vectors, and scalars, as well as frame-based and sample-based processing.

Sources and Sinks

Error statistics and plotting.

Random Noise Generators in Simulink

You can generate noise for communication system modeling using the MATLAB® Function block with a random number generator.

Spreading Sequences

Comparison of spreading sequences for single and multiuser scenarios in single path and multipath environments.

Export Data to MATLAB

Sending the simulation results to the MATLAB workspace and using MATLAB to analyze the data.

Featured Examples