Random barnoulli variable in matlab

The following Matlab project contains the source code and Matlab examples used for random barnoulli variable. There is often a need to generated a random variable that has Bernoulli distribution. This function generates Bernoulli random variables 0 and 1.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1304
randb.m 222

SocialTags: