randerr
Generate bit error patterns
Syntax
Description
Use the randerr function to generate bit error
patterns. For all syntaxes, randerr treats each row of the
output independently.
specifies a random stream object to generate uniform random noise samples by using
the out = randerr(m,n,errors,randstream)rand function. Providing a random
stream object or using the reset (RandStream) function on the default random stream object
enables you to generate repeatable noise samples.
Note
To generate repeatable noise samples, use the same seed input value for
each call of randerr or reset the random stream
input before calling randerr. For more information
on resetting the random stream, see the RandStream object.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a