Write a C code to Simulate the binary erasure channel (BEC) and the binary symmetric channel (BSC). The decoder should run for Nmax iterations or until it finds a codeword, whichever is earlier.
Encoding: For iterative decoding problems, assume that the all-zero-codeword is transmitted
• Frame error rate (FER): It is defined as:
Number of received words not decoded to the sent codeword divided by Total number of codewords simulated
All FER curves must be plotted up to at least 10−6. A minimum of 100 decoding failures must be collected for reliable statistics.
Plot the FER and the BER curves for both the decoders and all the parity-check matrices
Thank you.
Recommended Answers
Jump to PostPost some code, at least; to show your effort at tackling the problem by yourself.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.