Question

Problem 3: This is a Matlab study. Download the matlab file (QPSKModulationInFlatFadingExample) from Moodle, which implements...

Problem 3: This is a Matlab study. Download the matlab file (QPSKModulationInFlatFadingExample) from Moodle, which implements a QPSK transmission over a Rayleigh fading channel. First understand what this codes implement. Also, find a solution to have a frequency selective fading when symbolRate in the code is 500 and find a solution to have flat fading when symbolRate is 500e3. Plot your results with Matlab.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

QPSK Modulation in Flat Fading
Set the symbol rate parameter to 500 bps.

symbolRate = 500;
Generate random data symbols and apply QPSK modulation.

data = randi([0 3],10000,1);
modSig = pskmod(data,4,pi/4,'gray');
Set the path delays and average path gains for the fading channel.

pathDelays = [0 3 10]*1e-6; % Discrete delays of three-path channel (s)
avgPathGains = [0 -3 -6]; % Average path gains (dB)
By convention, the delay of the first path is typically set to zero. For subsequent paths, a 1 microsecond delay corresponds to a 300 meter difference in path length. The path delays and path gains specify the average delay profile of the channel.

Create a Rayleigh channel using the defined parameters. Set the Visualization property to display the impulse and frequency responses.

fsamp = symbolRate;
channel = comm.RayleighChannel(...
'SampleRate',fsamp, ...
'PathDelays',pathDelays, ...
'AveragePathGains',avgPathGains, ...
'MaximumDopplerShift',0.01, ...
'Visualization','Impulse and frequency responses');
Pass the signal through the Rayleigh channel and apply AWGN.

rxSig = awgn(channel(modSig),25);

The impulse and frequency responses show that the channel behaves as though it were flat. This is because the signal bandwidth, 500 Hz, is much smaller than the coherence bandwidth, 50 kHz. Alternatively, the delay span of the channel (10 microseconds) is much smaller than the QPSK symbol period (2 milliseconds) so the resultant bandlimited impulse response is approximately flat.

Plot the constellation.

constDiagram = comm.ConstellationDiagram;
constDiagram(rxSig)

Add a comment
Know the answer?
Add Answer to:
Problem 3: This is a Matlab study. Download the matlab file (QPSKModulationInFlatFadingExample) from Moodle, which implements...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem 3: This is a Matlab study. Download the matlab file (QPSKModulationInFlatFadingExample) f...

    Problem 3: This is a Matlab study. Download the matlab file (QPSKModulationInFlatFadingExample) from Moodle, which implements a QPSK transmission over a Rayleigh fading channel. First understand what this codes implement. Also, find a solution to have a frequency selective fading when symbolRate in the code is 500 and find a solution to have flat fading when symbolRate is 500e3. Plot your results with Matlab.

  • Task 4 Download the temperatures.txt file from Moodle. The file contains temperature data which h...

    Use the Matlab to solve this one, please! Task 4 Download the temperatures.txt file from Moodle. The file contains temperature data which has beern collected once a day and contains noisy data. Write a MATLAB m-file that performs the following: Read the temperature values from temperatures.txt into a vector A. B. C. Plot the temperature against time using red diamond markers. Without using loops, remove the noisy data using the following rules: I Any temperature value above 45°C is invalid...

  • Matlab question Task 2 Download the ENG1060studentmarks.txt file from the Moodle. The file contains the following...

    Matlab question Task 2 Download the ENG1060studentmarks.txt file from the Moodle. The file contains the following information: 1. Column 1: Student ID 2. Column 2--11: Lab marks (/10) worth 2% each (20% total of final grade) 3. Column 12: Assignment mark (/10) worth 10% of the final grade 4. Column 13: Exam mark (100) worth 70% of the final grade a) Write a function that accepts a student's laboratory, assignment and exam marks as inputs to determine the final mark...

  • 3. You will need to download the data file "Wet Suits" from Sakai. Researchers are interested...

    3. You will need to download the data file "Wet Suits" from Sakai. Researchers are interested in finding out if wet suits allow a swimmer to swim faster. Researchers measured the speed (in meters per second) of swimmers both with and without a wet suit. The results of the study are shown in the table. A normal probability plot indicates the differences d = with - without are approximately normally distributed. Swimmer With 1.57 1.47 1.42 1.35 1.22 1.75 1.64...

  • 3. Use the fourier series in the previous problem as the input to the undamped spring-mass model ...

    previous 3. Use the fourier series in the previous problem as the input to the undamped spring-mass model у+w2y = f(t) and assume that wメnn/L for any n. Find ONLY the particular solution yp(t). Plot the transfer function -you will notice that this is a bandpass amplifier. 2. Assume that our function above is used to open-loop heat a pot of coffee sitting on a coffee maker burner (open-loop means that no attempt is made to hold the coffee at...

  • Please help me correct my MATLAB script code for this problem, thank you!! A projectile PA is launched from point A towards the east with an initial launch velocity voa and an initial...

    Please help me correct my MATLAB script code for this problem, thank you!! A projectile PA is launched from point A towards the east with an initial launch velocity voa and an initial lauw angle of 0x. The impact point of the projectile Pa is a point B in a valley with an ordinate, yon, located below the clevation of point A. The launch from point A is instantaneously detected at point B, and a counter projectile P launched simultaneously...

  • Need help with this question on matlab. Show code please! Salmon_dat.csv 272395 286156 391573 461443 401998...

    Need help with this question on matlab. Show code please! Salmon_dat.csv 272395 286156 391573 461443 401998 313120 240763 297488 446152 480276 420555 277697 357375 331788 420879 332479 320947 359853 300917 403286 416419 345028 256049 281980 286625 278560 344422 317956 219688 259337 208197 189419 272884 360673 248860 306981 401711 867728 870035 921314 846026 570413 493708 275954 518942 480284 809799 677171 589937 1129664 1152642 Exercise 1: Salmon Runs Download the file salmon-dat.csv included with the homework. This file con- tains the annual...

  • write MATLAB scripts to solve differential equations. Computing 1: ELE1053 Project 3E:Solving Differential Equations Project Principle...

    write MATLAB scripts to solve differential equations. Computing 1: ELE1053 Project 3E:Solving Differential Equations Project Principle Objective: Write MATLAB scripts to solve differential equations. Implementation: MatLab is an ideal environment for solving differential equations. Differential equations are a vital tool used by engineers to model, study and make predictions about the behavior of complex systems. It not only allows you to solve complex equations and systems of equations it also allows you to easily present the solutions in graphical form....

  • PYTHON 3 Object Oriented Programming ***a9q3.py file below*** class GradeItem(object): # A Grade Item is anything...

    PYTHON 3 Object Oriented Programming ***a9q3.py file below*** class GradeItem(object): # A Grade Item is anything a course uses in a grading scheme, # like a test or an assignment. It has a score, which is assessed by # an instructor, and a maximum value, set by the instructor, and a weight, # which defines how much the item counts towards a final grade. def __init__(self, weight, scored=None, out_of=None): """ Purpose: Initialize the GradeItem object. Preconditions: :param weight: the weight...

  • Homework #1 – Implementing Set with a Linked List Project Objectives 1. Be able to integrate...

    Homework #1 – Implementing Set with a Linked List Project Objectives 1. Be able to integrate the knowledge of Java Generics, Collection Framework and the Linked List data structure to implement the Set ADT. Components emphasized are: • Allowing parameterized type for handling a general class of values in the collection framework; • Understanding conceptual differences between lists and sets and implementing them with methods; • Implementation of an iterator with functionality that is appropriate for the collection, namely the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT