Reslove error using hamming encoder/decoder in simulink
2 views (last 30 days)
Show older comments
Hello, I am working on an assignment where I should import an image from matlab workspace and then pass it through an AWGN channel while using Forward Error Correction. I first built the model without the FEC block and it worked great. The model is uploaded in the first file. Then I added a Hamming Encoder/Decoder and after using some blocks to solve the frame based issues (buffer) , I got the simulation running but the output is always zero so the BER is 1. I couldn't figure out the problem but I narrowed it to the first buffer block. The zero output starts from there. I attached this model in the 2nd file.
Note: To run the simulation, initialize I=imread('camerman.tif), any other image of different size would require changing the "selected samples from frame parameter in the error rate calculation block".
Any help would be appreciated. Thank You
0 Comments
Answers (0)
See Also
Categories
Find more on Hamming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!