代写EEE203 Signals and Systems I Lab: What for Lunch?调试Matlab程序

EEE203 Signals and Systems I

Lab: What for Lunch?

Bob is very appreciative of your help throughout the semester. He wants to treat you for lunch. Since he is an amateur radio fan, he transmits the lunch menu to you through ham radio to see if you like it. The radio transmission uses amplitude modulation and the carrier frequency is 1.885 MHz. You receive the  modulated signal. Now you need to demodulate the signal to find out the lunch menu.

To understand the theory of amplitude modulating and demodulating, it is crucial to understand the Fourier transform. of a signal multiplied by a sinusoid. Suppose we have a signal m(t) and its Fourier transform is M(jw), what is the Fourier transform. of m(t)cos(wct)? From the multiplication property, we know

Due to the sifting property of delta function, we have

In other words, if any signal is multiplied by a cosine signal in the time domain, in the frequency domain, it is equivalent to split the spectrum of the signal into two halves 2/1 M(jw), with one half shifted to the left by the frequency of the cosine signal wc  and the other half shifted to the right by wc.

For example, assume m(t) = cos(2π100t) and wc = 2π1000. Figure 1 shows the Fourier transforms (the FFT magnitude) of m(t) = cos(2π100t) and m(t) cos(2π1000t) respectively. As shown in the figure, the Fourier transform. of m(t) is two impulses at ±100Hz. After multiplied by cos(2π1000t), the spectrum of m(t) is split into two halves, one shifted to the left by 1000Hz, and the other shifted to the right by 1000Hz, and they end up centered around at ±1000Hz respectively.


Lab Objectives:

1.   Apply the multiplication property of Fourier transform, i.e., time domain multiplication of two

signals is equivalent to frequency domain convolution. See Table 4.1 for the property. Review Week

4 practice and homework problems 4.28 (b) (ii) and (iii) for an example. (This is a key concept of communication system.)

2.    Understand the procedure to amplitude modulate a signal and be able to derive the Fourier transform. of the modulated signal.

3.    Understand the procedure to coherently demodulate a signal and be able to derive its Fourier transform.

4.    Resample the signal when a signal is modulated and demodulated based on Nyquist Theorem.

5.    (Optional) Understand the impact of modulation index on coherent demodulation.

Lab Tasks:

Submit your derivation, answer to questions, MATLAB script and plot in a signal PDF file.

1.    In this lab, you will need to use the “amdemod” (and possibly “ammod”) commands from MATLAB Communications Toolbox. If you haven’t installed the toolbox, you can go to “Home->Add-Ons->Manage Add-Ons” and go to “Get Add-Ons” and choose Communications Toolbox to install.

2.    Read the tutorial on amplitude modulation/demodulation.

3. Derive the Fourier transform expression of the amplitude modulated signal ΦAM(jw) in the tutorial. (Hint: All you need is Table 4.1 and 4.2.)

4. Derive the Fourier transform expression R(ju) of r(t) in the tutorial. (Hint: Expand the expression and again all you need is Table 4.1 and 4.2.)

5.    Given the R(ju) you derived, what needs to be done to restore the original signal? In the MATLAB

command window, type “type amdemod” . It will display the script. for the demodulation function.

Read the code and describe the demodulation process. How is the signal restored to its original

form? Does the procedure make sense based on the R(jω) you derived? The script uses a

butterworth low pass filter. What is the default cutoff frequency? Why is it a good choice? Refer to the MATLAB documentation (you can type “help butter” at the command line) or noise removal lab  for the syntax of “butter” command.

6.    Download the modulated signal “lunch_modulated.txt” . Due to its large size, the file is compressed. You need to unzip the file first.

7.    Download the MATLAB script. “lab_mod_demod_mesg.m” . The part of MATLAB code to modulate the message is commented out and included for your reference. Don’t uncomment this part until you decode the message and if you want to complete Task 9. Complete the script, and submit the completed script. Your task is to

a.    Demodulate the message using “amdemod”, which is the inverse of “ammod” (example on how to use “ammod” is in the commented out code section).

b.    Down sample the demodulated message so that it can be played by a speaker. It is the inverse of up-sampling (example on how to use “resample” to do up-sampling is in the commented out code section).

c.    Plot and play the recovered message.

8.    Submit the MATLAB plot of the recovered message. What is the lunch menu Bob sends?

9.    (Optional) Once you successfully demodulate the message, you can save the message as

“lunch.wav” using the “audiowrite” command. Now you can uncomment the modulation part of the code (also comment out the two dlmwrite and dlmread lines, so you don’t repeatedly writing and reading file), and experiment with different modulation indices (adjust the mu variable), can you recover message correctly when the modulation index is greater than 1?




热门主题

课程名

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