Can anybody help me create a simple pseudo-random sequence of +-1 integers with length 1000 using Matlab?
I.e. a sequence such as
-1 -1 1 1 -1 -1 1 -1 -
Simply user randsrc function.
It will generate random sequences of 1 and -1.
For example
out = randsrc(2,3)
out =
-1 -1 -1 1 -1 1