代做ELEC0086 Communications Systems Modelling调试Matlab程序

ELEC0086 CSM Lab Scripts by Kai-Kit Wong (version 2025-2026)

MSc Module: Communications Systems Modelling

Lab Session 1 – Simulating OFDM Communications Systems in Frequency Selective Fading Channels

This lab sheet has to be read in conjunction with the lecture notes on OFDM!

1.1 Simulation of L-Ray Equal-Power Rayleigh Fading Channels

1.1.1 Generate a Poisson random variable L to decide the number of rays of the channel.

1.1.2 Generate L complex fading coefficients, each has a Rayleigh distributed amplitude and a uniformly distributed phase (α1, α2, α3, …  αL)

1.1.3 Using uniform random variables from 0 to 2 to model the time delays for the rays. Generate L delays (τ1, τ2, τ3, τL)

1.1.4 Plot the channel impulse response (hint: use “stem” instead of “plot”). Make sure the average power of the channel is the same (e.g., unity) regardless of the number of rays in the channel. This means that we want

E[|α1 | 2]+ E[|α2 | 2]+ ··· + E[|αL | 2] = 1

If the average power of each ray is assumed to be the same, then you can set E[|αi |2]=1/L to achieve this.

1.1.5 Repeat the above to generate a number of independent realisations of the channel impulse response.

1.2 Simulation of QPSK symbols

1.2.1 Generate a sequence of N independent QPSK symbols (s)

1.3 Simulation of the Input-Output Relationship

1.3.1 Assuming f is a rectangular function, obtain gm,n

1.3.2 Generate a sequence of N independent noise samples (mean 0, variance σ2) (n)

1.3.3 Generate the sequence of ym

1.3.4 Write a MATLAB code that obtains the symbol error rate (SER) for the system. Note that in order to perform. detection, one must first remove the perturbation of the channel carrying the message. Therefore, we should perform. detection based on the following signal


Also, it is important to note that SER results should be averaged over the randomness of the channel h

1.3.5 Plot the SER results against 10log10(1/σ2). You can try to change some parameters to see how the results are affected, e.g., the number of rays, the delay spread, the pulse shape, etc.

1.4 Simulation of the OFDM System

1.4.1 Obtain the circulant channel matrix

1.4.2 Generate the IFFT of s

1.4.3 Obtain the sequence of y (y = G*IFFT(s) + n)

1.4.4 Obtain the FFT of y

1.4.5 Write a MATLAB code that obtains the SER for the system assuming the channels are known

1.4.6 Plot the SER results against 10log10(1/σ2)

Bonus Tasks Channel Estimation and Error Correction Coding

B1 Repeat the simulations of 1.4 but assuming that the channels need to be estimated. Hint: channels h can be estimated by first sending known symbols (called pilots) and then the estimated channels can be used for the detection of unknown symbols.

B2 Repeat the simulations of 1.4 with 1.5.1 and add repetition coding with rate 1/3. Note that your SER results show steeper decline if coding is used. Also, use the simulation results to estimate the diversity order of the system.

B3 In OFDM systems, the SER will be dominated by the worst subcarriers. To improve the SER of the system, it is possible to disable the worst subcarriers but transmit at higher rates for those good subcarriers. Design a system to take advantage of this observation and study its performance using simulations.

Lab report Submission

1. A lab report needs to be submitted online on Moodle on or before 4PM 20th JAN 2026 (TUESDAY)

2. The lab report will be marked and the marks will contribute 50% of your overall marks for CSM

3. In the lab report, you will need to include the following (but not limited to):

•   An introduction section that describes the lab (only LAB SESSION 1)

•   A discussion section that discusses the assumptions of the simulations specific to the lab, and the results obtained from the simulations

•   Some extra simulations that are related but not done in the lab

•   A conclusion section

•   Include your MATLAB code as appendices




热门主题

课程名

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
站长地图