Preview

Digital Signal Processing and Fourier Transform

Satisfactory Essays
Open Document
Open Document
333 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Digital Signal Processing and Fourier Transform
Lab 1: Sampling Theory, Quantization and PCM
In this lab, you will familiar with Sampling theorem, quantization and PCM generation. Pre-lab Assignment

: Given signal

x(t) = sinc(t), x(t).

1. Find out the Fourier transform of

x(t), X(f ), sketch them;

2. Find out the Nyquist sampling frequency of 3. Given sampling rate terms of

fs , write down the expression of the Fourier transform of xs (t) → Xs (f ) in fs = 1
Hz, sketch the sampled signal

X(f ). xs (t) = x(kTs ) and the Fourier

4. Let sampling frequency transform of

xs (t). fs = 2Hz , repeat 4. fs = 0.5Hz , repeat 4. fs = 1.5Hz , repeat 4. fs = 2/3Hz , repeat 4.

5. Let sampling frequency 6. Let sampling frequency 7. Let sampling frequency 8. Let sampling frequency

Lab Assignment 1: Sampling Theorem 1. Design matlab programs to illustrate items 3-8 in pre-lab assignment. You need to plot all the graphs. Using the Fourier transform of

xs (t) as: x(kTs ) exp(−j 2πf kTs ) k Xs (f ) =

2. Compare your results with your sketches in your pre-lab assignment and explain them.

Lab Assignment 2: Quantization of Voice 1. Read pcm.wav le into vector

y (you can truncate the original data to the desired length); N = 3 bits (8 levels) uniform quantizer. Output PCM code

2. Quantize the data vector N number (0 to 2 − 1).

y,

using

3. Generate binary (0 and 1) bit stream from PCM code number (this bit stream will be used in the later labs). 4. Recover the quantized sample values and replay the wave see if there is any distortion. 5. Repeat the above procedure, changing the number of quantization bits ered voice quality using different le, compare the original wave le to

N.

Summarize the recov-

N.
1

Transmitter y Read pcm.wav quantization yq ~ (0,2^L−1) bit stream yb ~ (0, 1)

Receiver yb’ Recover quan. levels yq’ play back

Figure 1: Procedure diagram.

2

You May Also Find These Documents Helpful

  • Powerful Essays

    6. At a stimulation frequency of 15 Hz how many stimuli were there per second?…

    • 1509 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Answers Lab06 ECG

    • 446 Words
    • 4 Pages

    4. Draw an ECG wave form representing one heartbeat. Label the P, QRS, and T waves; the P-R interval; the S-T segment; and…

    • 446 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab Report Week 1 Part 2

    • 607 Words
    • 7 Pages

    6. At a stimulation frequency of 15 Hz how many stimuli were there per second?…

    • 607 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    QNT351 Week5 MyStatsLab

    • 2853 Words
    • 9 Pages

    3. For each of the following rejection regions, sketch the sampling distribution for z and indicate the location of the rejection region, and determine the probability that a Type I error will be made.…

    • 2853 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NR439 RRL1 Form

    • 439 Words
    • 3 Pages

    8) How was the sample selected? What are the strengths and weaknesses of this sampling strategy?…

    • 439 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Qnt 561 Week2

    • 1289 Words
    • 6 Pages

    21. What is sampling error? Could the value of the sampling error be zero? If it were zero, what would this mean?…

    • 1289 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    Module 1 Homework

    • 2293 Words
    • 10 Pages

    Use the information presented in the module folder along with your readings from the textbook to answer the following questions.…

    • 2293 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    Physioex Exercise 10

    • 524 Words
    • 3 Pages

    Student instructions: Follow the step-by-step instructions for this exercise found in your lab manual and record your answers in the spaces below. You are only required to perform Activity 1 & 2 in this simulation. Submit this completed document by the assignment due date found in the Syllabus.…

    • 524 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    COMPE 271

    • 499 Words
    • 5 Pages

    F ( s ) = L{t 2 e −2t + 10 sin(3t + 45o )} =…

    • 499 Words
    • 5 Pages
    Satisfactory Essays
  • Powerful Essays

    · This class takes a substantial amount of time and study. This is an ONLINE COURSE. This class utilizes the power of the internet and the college's course management portal ANGEL, and MYPSYCHLAB website. There are large amounts of material to memorize AND learn, and these materials are required for any college level class. The tests are extensive and thorough, covering all required chapters. ALL EXAMS ARE ONLINE. YOU MUST HAVE ACCESS TO A COMPUTER WITH A RELIABLE INTERNET CONNECTION, OR COME TO THE COLLEGE TO WORK ON THEIR COMPUTERS. YOUR EXAMS WILL BE TAKEN THRU THE MYPSYCHLAB AREA, AND YOUR FINAL EXAM IS ONLINE, AND WILL BE TAKEN THROUGH ANGEL. YOU "MUST" PURCHASE THE TEXTBOOK, AND YOU MUST REGISTER IN BOTH ANGEL AND MYPSYCHLAB.…

    • 1946 Words
    • 8 Pages
    Powerful Essays
  • Powerful Essays

    WARNING! 1. These examples were given as part of a Lecture. To look at them outside of their original context would be reckless. Be sure to understand these examples in the context of the lecture material. 2. Since they are Lecture examples, they are subject to the constraints of lectures: they do not aim to illustrate all the techniques that you are expected to master in the course. 3. Lecture examples intend to demonstrate a particular application of a method. You will not be testing your ability to recognise which kind of question you have before you by simply reading these through (they are often labelled!). Life does not usually come in such neat packages. It is recommended that you construct your own tests from textbook and tutorial problems to enhance your problem recognition and solution skills. Happy studying!…

    • 8508 Words
    • 35 Pages
    Powerful Essays
  • Good Essays

    Peter the Great

    • 464 Words
    • 2 Pages

    Based on the information in the above sources (you do not need to use all of the sources but just some of them), the textbook and lecture notes, address the following questions:…

    • 464 Words
    • 2 Pages
    Good Essays
  • Good Essays

    La La Land

    • 621 Words
    • 3 Pages

    Analysis and Evaluation questions (1) Complete the missing column on the results table. (2) Draw a graph of temperature (x-axis) against 1/time (y-axis) (3) The experiment carried out is an investigation into rate of reaction. How do we measure rate of reaction? What units are used?…

    • 621 Words
    • 3 Pages
    Good Essays
  • Good Essays

    6. At a stimulation frequency of 15 Hz how many stimuli were there per second?…

    • 1146 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Jiawei Huang 37154135 Fourier Transform Assignment 1. Fourier transform of sine wave (code): import numpy as np import matplotlib.pyplot as plt from scipy.fftpack import fft,fftfreq dt = 0.01 time = np.arange(0,5.,dt) f_1 = 3. a_1 = 2.3 y = a_1*np.sin(2.*np.pi*time*f_1)…

    • 736 Words
    • 13 Pages
    Satisfactory Essays