Please help guys.. i need to perform the run and correlation property on a stream of bits that has been pseudorandomly generated.

I have used the following piece of code: e.g x= randn(10,1)>0.5 to generate random bits of 0's and 1's. Is this the correct way of doing it or do i need to pass through the linear feedback shift register method to generate the pseudorandom bits??

I have managed to perform balance property but im unable to do run and correlation property of the generated stream.. Any suggestions help/?? ??