Mathlab Project

Mathlab Project
(a) Apply the concepts of sampling, aliasing and how to recover the original signal from the sampled signal.
(b) Demonstrate the relationship between amplitude modulation and sampling.
(c) Apply the concept of sampling to envelope detection.
2. Equipment
Matlab, Simulink, and the Communications Toolbox.
3. Generating A Sampled Message Signal Using Simulink
In Simulink, you will use a product or multiplication block to show the concept of sampling. Note: Don’t change the sampling parameter of the product block to be smaller than the sampling interval.
You will use two input signal types for the message signal: the first one is a sine wave and the second one is a square wave each having a 10 Hz frequency with amplitude one.
You will use a pulse generator block (uni-polar pulse sampling input signal with a minimum is 0 and amplitude of 1) as the other input to the multiplier. Also, try simulating an envelope detector using a switching-type block that has three inputs.
In your report explain why the above configuration shows the concept of sampling. Also explain, why this configuration models the output of an envelope detector and explain why the message signal has to have a non-zero average value. Explain why a periodic signal as a sampling function models the concept of sampling.
Print out the block diagram and appropriate output of the multiplier for both message signals.
4. Recovery of a Sampled Message Signal
Explain how you would recover a 10 Hz message signal that consists of a sine wave and use simulink to help explain this. You will need to use one of the blocks in Simulink Library labeled as “Continuous”.
Now use the block diagrams for the sine wave and switch to a square wave. Explain what happen. Adjust the appropriate parameters in your block to recover a relatively clean square wave.
Print out appropriate block diagram and appropriate outputs.
5. Aliasing
As best as you can, record your observation when using Simulink blocks to demonstrate aliasing with a sine wave message. Explain aliasing and provide a numerical example.
Print out appropriate block diagram and appropriate outputs.
6. Generating an AM signal from a Sampled Signal.
Using simulink, show that you can generate an AM sampled signal from a sampled signal. Use a message sine signal of 1 Hz, a sampling signal of 100 Hz. Select the appropriate filter to generate the AM signal.
Print out and show block diagram for a DSB-LC (AM) and DSB-SC and print out the appropriate outputs.
Your IEEE formatted report should include your above observations, printouts, and clear and concise explanations of what happen with appropriate references and labeling of Figures and Titles.