I am a student and new to C++. It would be great if somebody could help me write a program. Here is what 开发者_运维百科it is suppose to do;
1- generates a Pseudo Random Bit Sequence (PN9 or PN15) 9 or 15 bit length. 2- saves the bit sequence from step 1 into a bit array/buffer and displays the array. 3- calculates the transition probabilities for 1. 0 --> 0 2. 0 --> 1 3. 1 --> 0 4. 1 --> 1 4- asks the user to input a bit sequence 5- introduces some noise.. i.e. flips some of the input bits 6- calculates and corrects the BIT errors based on the transition probabilities calculated in step-3
can any body guide or share his work with me on this?
You'll probably find many of the functions in the GNU Scientific Library (GSL) useful for your work. Apart from that, you'll have to do some work and then ask a specific question to get guidance.
精彩评论