Random binary sequence generator

Hi Fossee Team, I applied for "Advertisement No. B-38/P(14)16-17" job code - "P(14-23) ". For the recruitment purpose FOSSEE asked candidates to solve two out of three problems. One of the problem in them is "Random binary sequence generator". I am not able to get the which kind of function you expecting. Can you provide the equivalent "Matlab" function. So that it will help me to write the code. Thanks and regards Ashutosh

Scilab Not Spam Edit Delete 10-11-16, 5:22 p.m. ashutumho
Have given a link for reference already. Please check idinput.
Not Spam 11-11-16, 10:15 a.m. Inderpreet Delete Edit