randbinary

y=randbinary(row,col,unipolar=1/bipolar=2) to generate randon binary data matrix by PRATEEK
160 Downloads
Updated 20 Jun 2011

View License

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://ch.mathworks.com/matlabcentral/fileexchange/31885-randbinary), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Creating and Concatenating Matrices in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0