代写Communications Systems: Lab Script 4代写R语言

Communications Systems: Lab Script. 4

General instructions

LI Communication Systems (13812) & LH Communication Systems for Aerospace A (33289) are practical modules. All of the assessments are via coursework, these assessments are based on the labs. In this lab you will apply what you have learnt in lectures, and you will demonstrate concepts from these lectures in MATLAB. When working on assessments within this session, make sure that you refer back to the lectures. You will also need to have done the MATLAB on ramp in advance of the lab. This can be found at:https://uk.mathworks.com/learn/tutorials/matlab-onramp.html?s_tid=tah_po_mlonramp

When a question says ‘write a routine in MATLAB’ it means that you should create a .m file, which can be run by any user who opens the file in MATLAB and clicks ‘run’ .

Ahead of the lab

Before the lab, make sure that you have read through the lab script, watched the two introductory videos and completed the MATLAB on ramp (https://uk.mathworks.com/learn/tutorials/matlab-onramp.html?s_tid=tah_po_mlonramp). This will ensure that you get off to a flying start during the lab session.

The videos mentioned here are the same as for the first and second lab so, if you remember these clearly, then you do not need to watch these again.

Getting the best out of the lab

Prioritise tasks which need to be done in MATLAB – these are the ones where you are most likely to need some help. Leave writing up the various exercises until after the lab session.

The lab session

Please attempt the following questions for the final assignment for this module. Please remember that these are design tasks. To get the highest marks you should clearly explain the reasoning behind the choices that you have made. You should use sensible numbers, for example if you were to choose a temperature of 5500 K (roughly equivalent to the temperature of the surface of the Sun), then this would be a poor choice for a practical communications system.

Question 1

A binary signal is transmitted along a twisted pair of copper wires, with a potential difference of -1 V representing binary 0 and a potential difference of +1 V representing binary 1.

This signal is affected by thermal noise, which can be assumed to follow a Gaussian distribution. You can assume that the noise level is not a function of frequency.

Part a: Create a routine in MATLAB which models this system and where the user can vary the signal power, bandwidth and temperature.

Produce a plot which shows the maximum possible information rate as a function of temperature:

At a fixed bandwidth

•    If the bandwidth is increased to a higher value

If the bandwidth is decreased to a lower value

Produce a plot which shows the probability of a bit error as a function of temperature:

At a fixed bandwidth

•    If the bandwidth is increased to a higher value

If the bandwidth is decreased to a lower value

You should make a recommendation for the operating characteristics (signal power, bandwidth and temperature) of the system. Please note that there is no unique right answer for this part of the question – I am interested in your reasoning, not the precise numerical value.

Part b: Then, assuming that the attenuation of a signal is 2dB per km, write a Matlab code that produces a graph that shows how the signal to noise varies with distance for the operating characteristics that you have chosen.

Your submission should include:

•    A detailed description of your work, including any plots which are needed to clearly explain your work

•    A single .m file for part a which can be run in MATLAB which contains your routine. This .m file should contain any comments which the user needs to be able to easily run this file and reproduce your results

•    A single .m file for part b which can be run in MATLAB which contains your routine. This .m file should contain any comments which the user needs to be able to easily run this file and reproduce your results

If you find that you are unable to complete part a, then you can still attempt part b if you select a reasonable value for signal power and temperature. You can find such reasonable values in the lecture notes .

Question 2

Question 3 of lab 3 was about amplitude modulation in a digital sense. You were asked to write a MATLAB code which created a sine wave, a binary digital signal, modulated the carrier wave with the signal, adds white Gaussian noise to the modulated signal and then decoded the modulated signal.

You should use your work from question 3 of lab 3 as a starting point for question 2 of lab 4.

You should begin by investigating what happens as you vary the amplitude of the Gaussian noise.

When you decode the modulated signal, you should use a moving median filter (introduced in question 3 of lab 3) and you should vary the temporal length of the moving median filter (i.e. vary the number of points from the time series which are used by the moving median filter) and establish the optimum length for this filter.

You should then try at least two other filters and make a recommendation as to which filter gives the best solution (i.e. which filter results in the best reproduction of the original message signal).

Examples of filters which you could try are:

•    A filter which works in the frequency domain by using a Fourier transform (use a fast Fourier transform (the MATLAB command is fft)) to move from the temporal domain to the frequency domain, write code which removes unwanted frequencies and then transform the signal back into the temporal domain).

•    A filter in the temporal domain which works using the max or min functions (or a combination of both of these).

A Butterworth filter

•    A Chebyshev filter

It is intended that you begin this question during the lab and continue working on this outside of the taught sessions. Butterworth and Chebyshev filters will be covered in the lectures in the last week of term (after this lab). Therefore, this question has been written in such a way that you can either use filters which you have already encountered or use those which you will encounter in the final lectures. The mark scheme has been written so that it does not matter which filters you choose (as long as they are properly implemented and your investigation is rigorous).

Question 3 of lab 3 is a starting point for question 2 of lab 4, but you do not need to use the exact code from question 3 of lab 3. You can amend your work from lab 3 any way you like to get a good solution to question 2 of lab 4.

State a limitation of this method of correcting errors in codes and suggests how this limitation could be addressed.

Your submission should include:

•    A detailed description of your work

•    A .m file for part a containing your code, which can be run by another user. You should

make sure that this code contains comments in an appropriate level of detail and any instructions that another user needs to be able to run this code. If you are unsure what level of detail is required, then you are advised to refer back to lab 1.

•    A recommendation of which filter gives the best solution, with a clear justification for your choice.

Submission of work

For the final assignment, you will submit a single word document on Canvas which contains your work for this assessment, plus MATLAB (.m) files where these are needed. You may spend as much time as you like on this, provided that your work is submitted on Canvas by 11:00 on Friday 9th January 2026.

Format of files

Your word document must be in one of the following formats: .doc, .docx or .pdf. Other file formats may not open or display correctly on university devices.

Your Matlab file must be a single .m file for each question. You can write this in any version of Matlab that you like, but it will be tested in the online version of Matlab (matlab.mathworks.com), so you should ensure that your code runs on this platform. When you submit code on Canvas, it renames your files. Therefore, you should not use one Matlab file to call another. You should not declare functions – i.e. the following code calculates the average value of x. However this will not work after the file has been uploaded to Canvas.

function ave = calculateAverage(x)

ave = sum(x(:))/numel(x);

end

Instead, you should write a code which can be executed if the user opens the script and presses 'run'. An example of such a code is in on the Canvas page for this module under 'Modules' -> 'Lab 1' - > 'fib.m'





热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图