<< Chapter < Page Chapter >> Page >

If all has gone well, the quantized output mprime should be identical to the original message string.The function pam2letters.m rebuilds the message from the received signal. The final line of the programcalculates how many symbol errors have occurred (how many of the ± 1 , ± 3 differ between the message m and the reconstructed message mprime ).

% first run pulseshape.m to create x y=xcorr(x,ps);                     % correlate pulse with received signalz=y(N*M:M:N*M)/(pow(ps)*M);       % downsample to symbol rate and normalize mprime=quantalph(z,[-3,-1,1,3])';  % quantize to +/-1 and +/-3 alphabet pam2letters(mprime)               % reconstruct messagesum(abs(sign(mprime-m)))          % calculate number of errors
recfilt.m undo pulse shaping using correlation (download file)

In essence, pulseshape.m is a transmitter, and recfilt.m is the corresponding receiver. Many of the details of this simulation can be changedand the message will still arrive intact. The following exercises encourage exploration of some of the options.

Other pulse shapes may be used. Try

  1. a sinusoidal shaped pulse ps=sin(0.1*pi*(0:M-1));
  2. a sinusoidal shaped pulse ps=cos(0.1*pi*(0:M-1));
  3. a rectangular pulse shape ps=ones(1,M);

What happens if the pulse shape used at the transmitter differs from the pulse shape used at the receiver? Try using theoriginal pulse shape from pulseshape.m at the transmitter, but using

  1. ps=sin(0.1*pi*(0:M-1)); at the receiver. What percentage errors occur?
  2. ps=cos(0.1*pi*(0:M-1)); at the receiver. What percentage errors occur?

The received signal may not always arrive at the receiver unchanged. Simulate a noisy channelby including the command before the xcorr command in recfilt.m . What percentage errors occur? What happens as you increase or decrease the amount ofnoise (by changing the 1.0 to a larger or smaller number)?

Frame synchronization: from symbols to bits

In many communication systems, the data in the transmitted signal is separated into chunks called frames.In order to correctly decode the text at the receiver, it is necessary to locate the boundary (the start) of each chunk.This was done by fiat in the receiver of recfilt.m by correctly indexing into the received signal y . Since this starting point will not generally be known beforehand,it must somehow be located. This is an ideal job for correlation and a marker sequence.

The marker is a set of predefined symbols embedded at some specified location within eachframe. The receiver can locate the marker by cross-correlating it with the incoming signal stream.What makes a good marker sequence? This section shows that not all markers are created equally.

Consider the binary data sequence

. . . + 1 , - 1 , + 1 , + 1 , - 1 , - 1 , - 1 , + 1 , M , + 1 , - 1 , + 1 , . . . ,

where the marker M is used to indicate a frame transition. A seven-symbol marker is to be used.Consider two candidates:

  • marker A: 1 , 1 , 1 , 1 , 1 , 1 , 1
  • marker B: 1 , 1 , 1 , - 1 , - 1 , 1 , - 1

The correlation of the signal with each of the markers can be performed as indicated in [link] .

For marker A, correlation corresponds to a simple sum of the last seven values.Starting at the location of the seventh value available to us in the data sequence (two data points before the marker), marker A producesthe sequence

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