matlab noise generator
Note that there are areas where this is usefull, and where it is not.
It is not a random noise gererator, as the output is repetitive and predictable. So, it is not to be used where security is involved (crypto systems for example).
However, it is very usefull a noise generator for audio applications. Also, it is used a lot in telecom, for 2 reasons.
First, as a way to test the quality of a digital transmission line. A pattern using this generator is sent over the line, and at the other end, using the same noise generator configuration, you can verify that the data is correctly transported. This is used as a pseudo-random data generator, to 'simulate' randomness.
It is also used to scramble transmitted signal. This is usefull because many transmission technologies, like SONET/SDH, need a constant number of '1' and '0' in the transmitted stream. If the data to be transmitted is all-zero (or all ones), this would de-sync the receiver. By scrambling the signal, you simply XOR the output bits with the pseudo-random pattern. This ensure a constant number of transitions in the signal. Note that this scrambling is not for obscurtion purpous (i.e. the goal is not to 'encrypt' the output stream), but rather just to make sure that a constant number of 1 and zero get transmitted, even if the input data is mostly zeros or ones.