Coding Theory
Coding Theory
Source coding
Parity Check
- where a single bit is appended to a bit string. A bit string has odd parity if the number of 1s in
the string is odd. A bit string has even parity if the number of 1s in the string is even.]
- Ex: 10010011
o Count number of 1’s
o Even parity = 0 since the 1’s is even
o Odd parity = 1 since you need one more 1 to make odd
o Error, if the used parity is not odd/even
- Odd is more preferable
- Fails if there 2 errors
This study source was downloaded by 100000817325835 from CourseHero.com on 10-18-2023 20:27:58 GMT -05:00
https://www.coursehero.com/file/141773069/Coding-theorydocx/
Repetition codes and Majority decoding
- The simplest possible error-correcting code is the repetition code. The idea is that if we want to
send a message, we could repeat each digit a certain number of times. In this way, even if a
number of digits got garbled in transmission, the original message may be recovered from any
message by identifying the one which appears most frequently in a block. This process is called
majority decoding.
- For instance, if we want to send the message (not in codeword) NEXT, we could repeat each digit
5 times and send NNNNNEEEEEXXXXXTTTTT. If the receiver gets NNNNNEEFEEXXXXXTTTIT, it can
still recognize the message by determining the letter that appears often is a block.
- K = bits, r = no. of repetition
o n = kr
o n = length
o code: (n,k)
o eX: 011010 = (18,6)
n = 18
k=6
r = n/k
18/6 = 3
000 111 111 000 111 000
- Majority coding
o Majority of number is the real number if theres error
Hamming Distance
This study source was downloaded by 100000817325835 from CourseHero.com on 10-18-2023 20:27:58 GMT -05:00
https://www.coursehero.com/file/141773069/Coding-theorydocx/
Minimum Distance of code
- Min = 2e + 1
- 2e is the detect
- e is the correct
- a is longer than b
- a+b = the full length
- a is the width
- a/b = (a+b)/a = phi
- phi = 1 + (1/phi)
- phi^2 = phi + 1
- a/b = phi
- 1-phi = 1/phi
-
- Leonardo of pisa
- n>1
η n
1+ √ 5 1−√ 5
- Binet form of the Fibonacci nth number equation ( ( 2 ) (
−
2 )
) / sq5
Fractals: Construction
This study source was downloaded by 100000817325835 from CourseHero.com on 10-18-2023 20:27:58 GMT -05:00
https://www.coursehero.com/file/141773069/Coding-theorydocx/
- A fractal is a never-ending pattern. Fractals are infinitely complex patterns that are self-similar
across different scales. They are created by repeating a simple process over and over in an
ongoing feedback loop.
- The word fractal was coined in 1980 by the Belgian mathematician Benoit Mandelbrot (1924-
2010). Mandelbrot chose the name fractal because it reminds us of the word "fraction".
- Initiator = line
- Self similarity = Koch curve/snowflake = infinite permeter
- Generator = take line and replace it with generator
- Menger sponge = three d version of koh snowflake / cube thing
- Mandelbrot set = blac black hole infinite
- Sierpinski gasket = triangle thing
This study source was downloaded by 100000817325835 from CourseHero.com on 10-18-2023 20:27:58 GMT -05:00
https://www.coursehero.com/file/141773069/Coding-theorydocx/
Powered by TCPDF (www.tcpdf.org)