Bernoulli二进制发电机
Generate Bernoulli-distributed random binary numbers
- 库:
通信工具箱 /通讯来源 /随机数据源
Description
Bernoulli二进制发电机块使用Bernoulli分布生成随机二进制数字。使用此块生成随机数据位来模拟数字通信系统并获得性能指标,例如位错误率。带有参数的Bernoulli分布p产生零的概率p还有一个概率1-p。The Bernoulli distribution has mean value1-p和差异p(1-p). TheProbability of zeroparameter specifiesp和can be any real number in range [0, 1].
The output signal can be a column or row vector, two-dimensional matrix, or scalar. The number of rows in the output signal corresponds to the number of samples in one frame and is set by theSamples per frame范围。The number of columns in the output signal corresponds to the number of channels and is set by the number of elements in theProbability of zero范围。有关更多详细信息,请参阅Sources and SinksinCommunications Toolbox™ User's Guide
端口
Output
Parameters
Model Examples
块特征
Data Types |
|
Multidimensional Signals |
|
Variable-Size Signals |
|