You are on page 1of 1

DSP Laboratory

Task:
Generate a sine wave and cosine wave with frequency 200Hz and sampling
frequency 5KHz and then:
1. By using subplot, plot each wave and title and subtitle them.
2. Show that there two methods for plotting all wave in one figure and
legend them.
3. Perform sampling to sine wave and cosine wave with:
With nyquist rate.
Greater than nyquist rate.
Less than nyquist rate.
4. Add sine wave to cosine wave and then:
Perform sampling with:
o With nyquist rate.
o Greater than nyquist rate.
o Less than nyquist rate.
Perform quantization with level:
o 2.
o 4.
Extract the first and second complete cycle and plot them
separately.
Try to reverse the first segment around x axis and the second
segment around y axis and plot them in one graph as well as
show that there two methods for plotting them in one graph.

You might also like