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

  Impact of zigbee on telecommunication systems

Report on Impact of zigbee on telecommunication systems

  Travelling salesman problem involves

The Travelling Salesman problem involves a salesman who has to visit a number of cities in a single closed tour. The salesman always starts and ends the tour in his home city and visits each other city on the tour exactly once.

  Calculate the distance between cities

Calculate the distance between cities

  Z-transform in matlab

Z-Transform in MATLAB, Sketch the z-plane pole-zero plot and determine the stability status for the following digital system. Determine the h(n) in MatLab.

  Demonstrate the effect of zero-padding

Write a programs in Matlab to demonstrate the effect of zero-padding and filtering the DC-component in the frequency domain.

  Find the roots using matlab built-in functions roots & fzero

the following equation, what is the modified equation for a fixed-point iteration method. The roots of the function are x = -2.2020235, -0.4088152, and 1.11083871, how would you determine whether or not the method will converge on a root? If the tech..

  Function that will use the secant method to try to find

Create a function that will use the Secant method to try to find a root. (Hint modify the posted version of False Position.) Because this method may diverge

  Read the file a line at a time

Write the modified text file with the same name as the original file, but preprended with 'new_'. For instance, if the input filename was 'data.txt', the output filename would be 'new_data.txt'.

  Explain the difference in trajectory

Write a single function that outputs the total time of flight, range of the projectile and the velocity on impact given inputs of g, the angle,

  Simulate rigid body mechanics

Write a MATLAB code to simulate rigid body mechanics. Create a video file of a free falling rod. Neglect effects from drag or loss of kinetic energy. Make sure the rod falls onto one end showing how the rigid body reacts to hitting the ground. Cannot..

  Estimate the numerical wave speed

Scheme and try a couple of values for α, one close to 1 and the other not. Convince yourself that a smaller Δt is not necessarily a better choice.

  Write the commands that will create the matrix

Write the commands that will create the matrix.

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