# Y=randbinary(row,col,unipolar=1/bipolar=2) to generate randon binary data matrix by prateek in matlab

The following Matlab project contains the source code and Matlab examples used for 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.