<< Chapter < Page Chapter >> Page >

There are two different problems that can keep a transmission system from reaching the Shannon limit.The first is that the source may not be coded with maximum entropy, and this will be discussed next in "Source Coding" . The second is when different symbols experience differentamounts of noise. Recall that the plausibility argument for the channel capacity rested on the idea of the average noise.When symbols encounter anything less than the average noise, then all is well, since the average distance between levels is greater than theaverage noise. But errors occur when symbols encountermore than the average amount of noise.(This is why there are so many errors in the right-hand plot of [link] .) Good coding schemes try to ensure that allsymbols experience (roughly) the average noise. This can be accomplished by grouping the symbols into clusters or blocksthat distribute the noise evenly among all the symbols in the block. Such error coding isdiscussed in "Channel Coding" .

Source coding

The results from "Entropy" suggest that, all else being equal, it is preferable to choose a code in which each symboloccurs with the same probability. But what if the symbols occur with widelyvarying frequencies? Recall that this was shown in "Redundancy" for English and other natural languages. There are two basic approaches.The first aggregates the letters into clusters, and provides a new (longer) code word for each cluster.If properly chosen, the new code words can occur with roughly the same probability. The second approachuses variable-length code words, assigning short codes to common letters like “e” and long codes to infrequentletters like “x.” Perhaps the most common variable-length code was that devised by Morse for telegraph operators,which used a sequence of “dots” and “dashes” (along with silences of various lengths) to represent the lettersof the alphabet.

Before discussing how source codes can be constructed, consider an example using the N = 4 code from Example [link] (a) in which p ( x 1 ) = 0 . 5 , p ( x 2 ) = 0 . 25 , and p ( x 3 ) = p ( x 4 ) = 0 . 125 . As shown earlier, the entropy of this source is 1 . 75 bits/symbol, which means that there must be some way of coding thesource so that, on average, 1 . 75 bits are used for each symbol. The naive approach to this source would use 2bits for each symbol, perhaps assigning

x 1 11 , x 2 10 , x 3 01 , and x 4 00 .

An alternative representation is

x 1 1 , x 2 01 , x 3 001 , and x 4 000 ,

where more probable symbols use fewer bits, and less probable symbols require more.For instance, the string

x 1 , x 2 , x 1 , x 4 , x 3 , x 1 , x 1 , x 2

(in which each element appears with the expected frequency) is coded as

10110000011101 .

This requires 14 bits to represent the 8 symbols. The average is 14 / 8 = 1 . 75 bits per symbol, and so this coding is as good as possible,since it equals the entropy. In contrast, the naive code of [link] requires 16 bits to represent the 8 symbols for anaverage of 2 bits per symbol. One feature of the variable length code in [link] is that there is never any ambiguity about where it starts, since any occurrence of a 1 corresponds to the end of a symbol.The naive code requires knowledge of where the first symbol begins. For example, the string 01 - 10 - 11 - 00 - 1 _ is very different from _ 0 - 11 - 01 - 10 - 01 even though they contain the same bits in the same order.Codes for which the start and end are immediately recognizable are called instantaneous or prefix codes.

Questions & Answers

what is defense mechanism
Chinaza Reply
what is defense mechanisms
Chinaza
I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Software receiver design. OpenStax CNX. Aug 13, 2013 Download for free at http://cnx.org/content/col11510/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Software receiver design' conversation and receive update notifications?

Ask