randbinary
Version 1.0.0.0 (1.23 KB) by
prateek raj
y=randbinary(row,col,unipolar=1/bipolar=2)
to generate randon binary data matrix
by PRATEEK
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 LinuxCategories
Find more on Creating and Concatenating Matrices in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |