randbinary

y=randbinary(row,col,unipolar=1/bipolar=2) to generate randon binary data matrix by PRATEEK

You are now following this Submission

As matlab rand it takes size of matrix & generate random data in binary form
default is unipolar & if third input is 2 then output will be bipolar.

Cite As

prateek raj (2026). randbinary (https://in.mathworks.com/matlabcentral/fileexchange/31885-randbinary), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0