Random Barnoulli Variable

This function generates random Bernoulli variables.

您现在正在关注此提交

There is often a need to generated a random variable that has Bernoulli distribution. This function generates Bernoulli random variables 0 and 1.

引用格式

Alex Dytso (2026). Random Barnoulli Variable (https://ww2.mathworks.cn/matlabcentral/fileexchange/36320-random-barnoulli-variable), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Random Number Generation 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0