Show the frequency of the components

Assignment Help MATLAB Programming
Reference no: EM13498870

The aims of this assignment are:

1. To investigate the role of signal conditioning;

2. To design, implement and use signal processing algorithms;

Question 1

The audio les dial0.wav, dial1.wav, ..., dial9.wav contain telephone dial (signalling) tones for the numbers 0 through 9. Use the code provided in wavproc.m to read the .wav les. Play through the PC speakers using MATLAB's sound function.

Part (a)

Each number is signalled using two simultaneous tones (see the web page cited above for further information). Note that the sample rate is 8kHz. Write code to calculate and plot the Fourier Transform magnitude for each of the ten individual digits, with a correctly scaled frequency axis. In your report, include:

1. Two representative time-domain waveforms.
2. Two representative frequency-domain waveforms.

Part (b)

Show the frequency of the components, explain how you derived them from the FFT, and compare them to what is expected from the standard DTMF frequency pair allocation.

(a) Waveforms correct & plotted correctly

(b) Frequencies correct & compared

Question 2

This question asks you to determine a sequence of keys dialled { rstly clean, then noise- corrupted.

Part (a)

By reading the wave le in blocks and calculating the Fourier Transform of each block, design an algorithm and construct the code to determine the particular key sequence dialled from the wave le alone. Test your code using the le dial0123. The determination must be fully automatic, and must not rely on the waveforms being an exact length. In your report, show the output of your code, clearly indicating that it has correctly determined the sequence of keys.

Part (b)

A further set of longer dial tones is provided, according to the naming convention: dialu<d><c|n>.wav where dialu signi es \unknown dial sequence" d is a single digit signifying the unknown le number c|n is either \c" for \clean signal" or \n" for noisy signal For example, dialu2n.wav is the third1 noise-corrupted unknown dial sequence. Note, however, that the \n" le does not correspond to the \c" le|in other words, dialu3n.wav does not necessarily contain the same key sequence as dialu3c.wav. Note also that the keys dialled includes digits as well as the standard star (*) and hash (#) keys.

Test your code, unaltered, from the previous question for the case of a noise-corrupted signal. For the digit \d", use the last digit of your student number. For example, if your student number is 0123456789, use the le dialu9n.wav. In your report, show the output of your code, clearly indicating what your code has determined the sequence of keys to be.

Part (c)

Include your MATLAB coding, and give a brief description of how you designed it, how it works, and the salient (important) features.

(a) Determine short waveform 10
(b) Determine long waveform 10
(c) Explanation & Coding 30

Question 3

This question requires you to estimate how much noise can be tolerated in your algorithm as determined in the previous question.

Starting with the clean signal, as we increase the amount of noise added, we expect that the algorithm would work satisfactorily up to a point, after which the performance will degrade (only some of the keys will be detected, not all). At some point, with enough noise, the algorithm will not be able to detect any of the keys correctly (or, more correctly, the algorithm will produce what amounts to random results). In order to test this in the lab, we need to generate some \arti cial" noise, with a controllable power level.

Let the noise-free signal (the `c' wave le) be x(n). Add a quantity of noise to it, according to y(n) = x(n) + αv(n), where v(n) is white Gaussian noise and α is a constant controlling how much noise is added.

For a given α, you can calculate the Signal-to-Noise ratio (SNR) in decibels (dB) using from a data vector of reasonable length N, given the signal x(n) and noise αv(n).

1950_Determine short waveform.png

Starting at α = 0 (that is, no noise), increase the amount of noise and test the performance of your key-detection algorithm. The detection algorithm must use as input the observed signal y(n). Assume that the clean signal is not available to the detection algorithm2.

Determine how many keys can be recovered using your algorithm from the previous question, and create a table containing α, SNR (in dB), and number of keys recovered. When the signal power equals the noise power, the SNR is 0 dB. Will your algorithm work at this SNR?

Given the results of your testing, suggest and investigate some methods by which the performance of your algorithm could be improved.

Reference no: EM13498870

Questions Cloud

Calculate the pressure exerted on the skin : Calculate the pressure exerted on the skin by an acupuncture needle of radius 0.100 mm applied with a force of 4.40 N
Compare and contrast the human factors theory : Compare and contrast the Human Factors Theory in Practice with the Accident/Incident Theory in Practice. Explain ways that a safety system can fail, thereby contributing to these theories.
Explain what is the initial concentration of acetone : what is the initial concentration of acetone, H+ and I2 in the reaction mixture. it took 120 seconds for I2 color to disappear from the reaction mixture, what was the rate of reaction.
Determine the motors power : The motor of an electric drill draws a 8.11 A current at the power line voltage of 120 V rms. What is the motor's power (in W) if the current lags the voltage by 27.1°
Show the frequency of the components : Show the frequency of the components, explain how you derived them from the FFT, and compare them to what is expected from the standard DTMF frequency pair allocation.
Find out what region the electromagnetic spectrum lamda : How do you determine what region the electromagnetic spectrum lamda = 8.67x10^-7 m corresponds to : UV , Visible or IR
Does strategic management involve long-term : Does strategic management involve long-term or short-term activities?
Explain tetraphenylporhyrin and 2% tetraphenylchlorin : The 650 nm/590 nm intensity ratio for tetraphenylchlorin is 7, while the ratio for tetraphenyl porphyrin is .45. Predict the 650 nm/590 nm intensity ratio for a sample that contains 98% tetraphenylporhyrin and 2% tetraphenylchlorin.
The unique economic factor : There are very few industries that have the unique economic factor in which the majority of its revenue does not come directly from the customer

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