Analog to digital and digital to analog conversion

Assignment Help MATLAB Programming
Reference no: EM131724810

Lab - ADC and DAC

Theory:

Analog to digital and digital to analog conversion are extremely important in DSP applications. The representation of an analog signal in computer memory requires analog to digital conversion, requiring sampling and quantization. The playback or production of an analog signal from computer memory is known as digital to analog conversion. This requires reconstruction of a signal from sampled points and involves some form of interpolation. Depending on how the digital signal is stored, the analog signal can either be reconstructed completely (lossless), or some information must be created to fill in the gaps (lossy).

Prelab Assignment:

Lab:

1. An analog signal xa(t) = sin(1000Πt) is sampled using the following sampling intervals. In each case, plot the spectrum of the resulting discrete-time signal.
a. Ts = 0.1 msec
b. Ts = 1 msec
c. Ts = 0.01 sec

2. Consider an analog signal xa(t) = cos(20Πt), 0 ≤ t ≤ 1. It is sampled at Ts = 0.01, 0.05, and 0.1 sec intervals to obtain x(n).
a. For each Ts, plot x(n).
b. Reconstruct the analog signal ya(t) from the samples x(n) using the sinc interpolation (use ?t = 0.001) and determine the frequency in ya(t) from your plot. (Ignore the end effects.)
c. Reconstruct the analog signal ya(t) from the samples x(n) using the cubic spline interpolation, and determine the frequency in ya(t) from your plot. (Again, ignore the end effects.)
d. Comment on your results.

3. Consider an analog signal xa(t) = cos(20Πt + θ), 0 ≤ t ≤ 1. It is sampled at Ts = 0.5sec intervals to obtain x(n). Let θ = 0, Π/6, Π/4, Π/3, Π/2. For each of these θ values, perform the following.

a. Plot xa(t) and superimpose x(n) on it using the plot(n,x,'o') function.
b. Reconstruct the analog signal ya(t) from the samples x(n) using the sinc interpolation (Use ?t = 0.001) and superimpose x(n) on it.
c. Reconstruct the analog signal ya(t) from the samples x(n) using the cubic spline interpolation and superimpose x(n) on it.
d. You should observe that the resultant reconstruction in each case has the correct frequency but a different amplitude. Explain this observation. Comment on the role of phase of xa(t) on the sampling and reconstruction of signals.
4. Consider a signal with spectrum

X(ω) = { non-zero, |ω| ≤ ω0;

          {  0,           ω0 < |ω| ≤ Π

a. Show that the signal x(n) can be recovered from its samples x(mD) if the sampling frequency ωs = 2Π/D ≥ 2ω0.
b. Sketch the spectra of x(n) and x(mD) for D = 4.
c. Show that x(n) can be reconstructed from the bandlimited interpolation

k=-∞x(kD) sinc[fc(n - kD)];  fc = 1/D

For ω0 < 2Πfc < ωs - ω0

5. Using the function interp, study the operation of factor-of-4 interpolation on the following sequences. Use the stem function to plot the original and the interpolated sequences. Experiment, using the filter length parameter values equal to 3 and 5. Comment on any differences in performance of the interpolation.
a. x1(n) = sin(0.6Πn), 0 ≤ n ≤ 100.
b. x2(n) = sin(0.8Πn) + cos(0.5Πn), 0 ≤ n ≤ 100.
c. x3(n) = 1 + cos(Πn), 0 ≤ n ≤ 100.
d. x4(n) = 0.2n, 0 ≤ n ≤ 100.
e. x5(n) = {1, 1, 1, 1, 0, 0, 0, 0, 0, 0}PERIODIC, 0 ≤ n ≤ 100.

Reference no: EM131724810

Questions Cloud

How you would organize a pay structure for top executives : how you would organize a pay structure for top executives and how it might differ from a pay structure for human resource professionals or sales professionals.
What is the difference between amnesia and normal forgetting : Can you think of a task that uses all four of these WM components? Is consciousness one of these? Here's what Alan Baddeley thinks.
Qualitative risk analysis and quantitative risk analysis : Determine the major ways in which people, systems, data, and property will impact a BIA. Provide specific examples to support your response
Analyze three characteristics which demonstrate readiness : Read the article "When Does Voice Lead to Exit? It Depends on Leadership". Analyze the three characteristics which demonstrate readiness to lead change.
Analog to digital and digital to analog conversion : how the digital signal is stored, the analog signal can either be reconstructed completely (lossless), or some information must be created to fill in the gaps
What is an overarching theme with all of the philosophers : What is an overarching theme with all of the philosophers that were covered in this module? What did they have in common?
Expected value of guessing : How many options must the student be able to rule out before the expected value of guessing is? zero?
Investigate the effects of vegetation parameters on canopy : LABORATORY - VEGETATION REFLECTANCE MODELS. Investigate the effects of vegetation parameters on canopy reflectance
How much italian dressing should she use : The chef wants to make 210 milliliters of a mixture that contains 48% vinegar. How much vinegar and how much Italian dressing should she use?

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd