Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

It is more better if you will provide me solution in less than 6 hours...I will

ID: 3857190 • Letter: I

Question

It is more better if you will provide me solution in less than 6 hours...I will give him or her a good comment and Thumb up.....Please give a complete solutions....

Laboratory # 1, due by noon, July 19, Wednesday, 2017 (worth 75 points) July 10, 2017 1. Write a MATLAB (or any language of your choice) function for computing the check sum, given a set of codewords. The function definition should be (25 points): [chksum) = computeChecksum(codewordMatrix) For example (see slide 41 of Part-1 of Chapter-3 notes), invoking the function [chiksum) = computeChecksum(110 0; 1010) should return 'chksum - 1000. Your code should work irrespective of the number of codewords I choose to test your code with, as also the length of each codeword. You will find the built-in MATLAB functions mod, dec2bin and bin2dec useful 2. Write a pair of MATLAB (or any language of your choice) functions for computing the transmitted encoded codeword and the syndrome vector when multiple parity check bits are used for error detection correction. The function definitions should be (50 points total); [encodedCwd = computeEncodedCodewordcodeword)

Explanation / Answer


function chksum = computeChecksum(codeword)
[row col] = size(codeword);
chksum = 0;
for i=1:row
    chksum += bin2dec(fliplr(num2str(codeword(i,:))));
end
chksum = dec2bin(chksum);
end

chksum = computeChecksum([1 1 0 0; 1 0 1 0])

**Please provide more examples to verify the process

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote