Implement a Matlab script (M-file) that simulates the operation of the modulator and demodulator.
1 view (last 30 days)
Show older comments
how can i do this using a matlab ?
0 Comments
Answers (1)
Star Strider
on 31 Dec 2015
If you have the Signal Processing Toolbox, use the modulate and demod functions. If you don’t have it, the documentation for them will give you some important hints on how to write your own code to emulate them.
4 Comments
Star Strider
on 31 Dec 2015
You have to have discussed this in class or you wouldn’t have it as homework. Also, it doesn’t specify the sort of modulation (and demodulation) you have to use. (I assume amplitude-modulated double-sideband suppressed-carrier, since that is easiest, but it could be any of several.)
This will require you to experiment with baseband modulation and demodulation (assuming you don’t also have to simulate a transmitter and receiver with the requisite additional conversions, since that makes this assignment more difficult).
Remember that baseband AM-DSB-SC modulation requires that you heterodyne your modulating signal with your baseband frequency. Looking through the List of trigonometric identities should give you some clue as to how to do the requisite calculations.
We will help you get your code to run if you give a good effort to coding it, explaining what you are doing and why you are doing it in each command or section of your code, if you have problems with it. We will not do it for you.
See Also
Categories
Find more on Modulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!