Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
87 views

The problem: "Use Hamming's code to detect if there was an error in the following message and correct it." m_8 m_7 m_6 m_5 m_4 m_3 m_2 m_1 c_4 c_3 c_2 c_1 1 1 1 0 1 0 1 1 0 0 0 1 My first ...
Danilo Jonić's user avatar
0 votes
1 answer
245 views

I'm trying to implement an extended Hamming code encoder after viewing 3Blue1Brown's excellent videos on the subject, and I can't seem to figure out what I'm doing wrong. I have the following code ...
Philippe Gorley's user avatar
0 votes
2 answers
79 views

I am trying to make a hamming code decoder and encoder in C and I cannot find a way to set the bits of a variable individually. For example, I am trying to somehow do the following: #include "...
Nasser Kessas's user avatar
0 votes
0 answers
92 views

Hi guys I work on LSB stenography using hamming code. The whole code should work so that the image changes to gray, the message is encoded with a Hamming code and inserted into the LSB bit plane, then ...
Branislav Gabčo's user avatar
0 votes
1 answer
240 views

I try to write a program to test a hamming code with one error bit. My design part have finished, but my test bench still has some problem. When I hit start the program just keep running for a long ...
max Chen's user avatar
0 votes
1 answer
409 views

(Python-GColab IDE) Instructions: Make a program that turns the 8-bit data into the 12-digit codeword. The code should figure out what the four parity bits are and put them in the right places in the ...
user15529245's user avatar
1 vote
0 answers
93 views

I am trying to find (or pipe together) a way to encrypt text so that the output is base32 encoded and protected by forward error correction against lost characters. Having some some base32 output like ...
Christian's user avatar
  • 1,301
1 vote
0 answers
35 views

is there mathlabs functions that when given (n,k) of a generalized array code it is able to generate all non-zero code words using (n,k) then find the minimum distance of the code, and determine the ...
Swag lord's user avatar
0 votes
0 answers
292 views

I'm currently working a project where I use MARIE Assembly Language to create a version of Hamming code. My initial work has been to first have the user input the 8 bits for the data bits, and to then ...
giotto1's user avatar
  • 59
1 vote
0 answers
57 views

I am learning about how Hamming code works. In low level encoding/decoding what are the protocols to separate code blocks? Let's say you have a (15, 11) Hamming code block, do you add extra bits in-...
wileypoots's user avatar
2 votes
2 answers
1k views

I need to implement an ECC algorithm on an 8-bit message with 32 bits to work with (32, 8), being new to ECC I started to google and learn a bit about it and ended up coming across two ECC methods, ...
Mathias Sven's user avatar
0 votes
1 answer
147 views

I'm having issues converting 12 into hamming code. I've verified the that it's correctly converting the number into binary (base-2), and now when I attempt to use the formula to convert the security ...
Urban-Programmer's user avatar
0 votes
0 answers
72 views

I just started learning c++. I have started to write code for creating a hamming code but I am still in the very beginning of writing the code. I tested out what I have so far and my code crashes ...
msy02's user avatar
  • 11
0 votes
1 answer
230 views

I have an array of N bits written on a cyclic tape. I read a sequence of M symbols starting from a random place on the tape. I was thinking about Reed Solomon error correction trying all possible ...
Moonwalker's user avatar
  • 2,242
1 vote
0 answers
362 views

I have found hamming code (7, 4) I guess... but how to rewrite it to (63, 57). If I have (7, 4) I enter 4 bits (3 redundant bits). So in (63, 57) I have to enter 57 bits?(from keyboard?) (6 redundant ...
Lex's user avatar
  • 179
2 votes
2 answers
997 views

I am trying to implement my own version of Hamming code with even parity (as shown here, except I'm starting counting the bits from left to right, rather than right to left) in Python. My code is as ...
The Pointer's user avatar
  • 2,416
3 votes
1 answer
174 views

Here's matlab's answer: x=[1,0,1,1] x_encode=encode(x,7,4) >>x_encode [1,0,0,1,0,1,1] I calculated the hamming code from definition of hamming code, here's my calculation process: 2^r≥k+r+1 ...
Jay Kwok's user avatar
-1 votes
3 answers
186 views

def is_hamming_numbers(x): if x == 1: return 1 if x % 2 == 0: return is_hamming_numbers(x/2) if x % 3 == 0: return is_hamming_numbers(x/3) if x % 5 == 0: ...
cursedchild19's user avatar
0 votes
0 answers
655 views

The problem seems quite suited for a GPU, FPGA, etc. (because it's quite parallel); but I'm looking for a CPU-based and somewhat architecture independent solution right now. I think a good answer ...
user2373145's user avatar
-2 votes
1 answer
1k views

Suppose we are working with an error-correcting code that will allow all single-bit errors to be corrected for memory words of length 7. We have already calculated that we need 4 check bits, and the ...
John's user avatar
  • 121
0 votes
1 answer
3k views

I need to construct the (31,26) hamming code of 0x444. After reading Wikipedia and the algorithm shown in GeeksForGeeks I still can't understand how this works as my construction ended up different ...
jjj's user avatar
  • 11
0 votes
0 answers
117 views

Can someone help or point me in the right direction? I am trying to read in 16 numbers from a .txt file( all 1's and 0's) and store each one into an array. here is what I am currently trying char ...
Shadowm's user avatar
0 votes
0 answers
899 views

At the moment I am trying to come up with a formula decoding Hamming(7,4). Until now not a single one gave me consistent right solutions. I've googled a lot, but cannot find the right information. My ...
MrEmper's user avatar
  • 235
0 votes
1 answer
976 views

I am trying to solve a problem that comes down to finding the hamming code without using binary string of the long number in java. I don't understand how we can do that, I have searched at many ...
Panda's user avatar
  • 547
5 votes
4 answers
34k views

I am trying to write a Hamming code program in C. However, I keep getting a Segmentation Fault(Core Dumped) error when trying to run the ./a.out after compiling. It compiles with no errors, and I ...
V.Bean's user avatar
  • 75
0 votes
1 answer
64 views

after several hours of testing i have narrowed down the problem to a single for loop, instead of the for loop (line 64) with the nested if transferring the data from converMain[] to converMain1[] all ...
Briley2K's user avatar
-2 votes
1 answer
4k views

I am looking for a simple answer to a simple question but I have yet to find a straight forward answer. For the Hamming code sequence (7 4), it can either do 1-bit detection and correction or 2-bit ...
Gareth T.'s user avatar
  • 115
0 votes
1 answer
131 views

I paid good money for this internet, I should not need to type in all those bits. Seriously folks, we are talking about a total of 128 bits altogether. Do you really expect me to type those all in ...
bigjosh's user avatar
  • 1,443
0 votes
1 answer
1k views

Below, in my code is supposes to find the simulation BER. But I am getting error on this code where nErrors = biterr(dataIn,dataDec2) this line gives matrix dimensions mismatch. Is there anyone who ...
student123's user avatar
0 votes
0 answers
311 views

I'm trying to write the Hamming Code encoding in Python and I'm stuck on the part where I have to calculate the index for the parity bits. Hamming Code is the use of extra parity bits to allow the ...
Elena Lanigan's user avatar
0 votes
1 answer
131 views

I would like to know if I can speedup this code using numpy... The code is actually running but I know it's possible to do better with np.where, which I've tried but without success :) For each syn ...
Ricardo Moita's user avatar
1 vote
2 answers
4k views

Hi I have a FFT which is quite noisy. How to apply to my code Hamming window to make it less noisy. Look at my code: plt.subplot(212) plt.title('Fast Fourier Transform') plt.ylabel('Power [a.u.]') ...
Hiddenguy's user avatar
  • 537
-4 votes
1 answer
86 views

What type of series it is and how to generate this by php program? 0 1 3 2 6 7 5 4 12 13 15 14 ... Observation: The successive difference of the entity is 1 Example: Difference of 0 and 1 is 1 ...
Md. Kausar Alam's user avatar
1 vote
0 answers
515 views

I have seen examples of hamming code detection and correction with 8 bits or 12 bits. Suppose I had the bit string: 1101 0110 11 which contains 10 bits. Do I need to add two additional bits to that ...
John's user avatar
  • 93
0 votes
0 answers
167 views

I have a binary Hamming code with generator matrix G = [1 0 0 0 1 0 1; 0 1 0 0 1 1 1; 0 0 1 0 1 1 0; 0 0 0 1 0 1 1]; and u is a received vector u = [0.5 0.3 1.3 -0.1 0.7 0.6 1.5]....
m2016b's user avatar
  • 540
0 votes
0 answers
601 views

I want to create the Hamming soft decoder using the Euclidean distance (with fonction repmat). I tried to program but it does not work as I want, I do not find the right BER. Anyone detected the ...
m2016b's user avatar
  • 540
2 votes
0 answers
498 views

I've been assigned a task where I have to create a SECEncoder in scala that encodes a 32-bit word into a 40-bit word where the least significant digits of the 40-bit word is the 32-bit word. The ...
Cookie's user avatar
  • 21
1 vote
1 answer
173 views

Can someone please clarify where im going wrong. I'm at this 2 hours... I know that the first parity in the code includes itself and skips every first number after it in a yes and no sequence. the ...
Ravnica's user avatar
  • 25
0 votes
1 answer
1k views

I thought I understood how to find error and correct it in a SEC hamming code but then my textbook question questioned my ability... Consider a SEC code that protects 8 bit words with 4 parity bits. ...
Jason Fel's user avatar
  • 991
-1 votes
1 answer
2k views

I came across this question and I couldn't find it in textbooks or the internet. Seems pretty unique. I guess there would be some comparators and adders involved, but I have no clue where to start.
McGill's user avatar
  • 49
2 votes
1 answer
11k views

I have been trying to understand Hamming Codes and wrote a program that correctly encodes and decodes given inputs for Hamming 7,4. When trying to do this for 15,11 I cannot get the right output when ...
gcrysler's user avatar
4 votes
2 answers
1k views

I'm trying to talk to a RS232 device that expects hamming encoded ASCII characters. The following table is provided by the manufacturer: Byte Encoded 0 15 1 02 2 49 3 5E 4 ...
Quantum_Kernel's user avatar
0 votes
0 answers
1k views

I'm now studying in terms of SECDED thing for error detection and correction. In my work, the spec is that "A SECDED encoded character has been retrieved, with the hexadecimal value of CC9. The SECDED ...
Allen's user avatar
  • 1
-1 votes
1 answer
739 views

Consider the example of hamming ECC https://en.wikipedia.org/wiki/Hamming_code Suppose after receiving you find that parity bits 16 and 8 are incorrect , which bit do you correct
MysticForce's user avatar
  • 1,351
0 votes
1 answer
1k views

So I am working on a lab assignment for a Computer Engineering class. I have a assignment due and I am trying to get all the help I can, as for the professor I have to wait until a few days before I ...
punjabi4life's user avatar
0 votes
0 answers
949 views

I have taken the code from this website of Hamming code. If I wanted to implement it on 12 bits of message and 7 bits of Parity what changes do I have to do? I have added till DI[11] and CI[6] bit ...
Ali's user avatar
  • 71
3 votes
2 answers
5k views

Following are the things that I already know about these: Hamming codes can be used both to detect and correct errors, while in crc errors can only be detected. CRC is used in communication while ...
user5951764's user avatar
0 votes
1 answer
1k views

graph Above is the graph showing the BER (bit error rate) at different Eb/No values using BPSK over AWGN channel. The pink curve shows the BER of the uncoded system (without channel encoder and ...
wolong91's user avatar
0 votes
1 answer
226 views

I need to transmit data over the line with some noise. Each transmission packet is only one byte (8 bits). I need that the receiver will be able to catch errors (and optionally correct some of them - ...
Vlada Katlinskaya's user avatar
1 vote
1 answer
54 views

I am creating a program to take in 1 or more 8 bit binary sequences and convert them into 12 bit hamming binary sequences. The code works and achieves everything right up until it tries to put the ...
Illuminite's user avatar