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 (2024). randbinary (https://www.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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0