Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Objectives

In the following exercises, students are required ?rstly to implement code to determine the frequency components present in a signal, and then to extract a desired signal from one which contains additional noise. The objectives addressed in this assignment are:

1. To be able to read sampled data, and extract the frequency components present (course objectives 4, 8 and 10).

2. To be able to design and implement a system to extract known information from a signal which contains random noise (course objectives 1, 5, 7 and 10). Students are expected to communicate their ?ndings and ideas in a clear and logical manner.

Background Several graphical demonstrations of algorithms and implementation examples are provided on the course web page. MATLAB is the recommended software package - students are, however, free to choose any programming language with which they are familiar in order to complete the assignments for this course. The aim of this assignment is to gain a better understanding of Fourier Transform, and to investigate a practical application of the FFT. The data files required for this assignment may be downloaded from the course website http://www.usq.edu.au/users/leis/courses/ELE3107/ELE3107.html 1. Example MATLAB code, which you may use for the purpose of the assignment, is provided on the course website. See the script wavproc.m - run it and trace through the code. Note well: you are permitted to use the fft and ifft functions in MATLAB, since they are part of the "standard" MATLAB con?guration. You are not, however, permitted to use any "toolbox" functions from MATLAB (i.e. those functions not provided as part of the standard Student Edition).

Question 1

 The audio files 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 files. Play through the PC speakers using MATLAB's sound function.

Part (a)

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

1. Your source code listing.

2. Two representative time-domain waveforms.

3. Two representative frequency-domain waveforms.

Part (b)

Show the measured frequency components, and compare them to what was expected theoretically. Waveforms correct & plotted correctly

Question 2

This question asks you to determine a sequence of digits dialled, given only the tone-dial waveforms.

Part (a)

By reading the wave file in blocks and calculating the Fourier Transform of each block, design an algorithm and construct the code to determine the particular digit sequence dialled from the wave file alone. Test your code using the file dial 0123. The determination must be fully automatic, and must not rely on the waveforms being any particular length. That is, the user may press the phone keys for a variable length of time. In your report, include a listing of your source code, and the output of your code, clearly indicating that it has correctly determined the sequence of digits.

Part (b)

A further set of longer dial tones is provided, according to the naming convention: dialu.wav where

dialu signifies       "unknown dial sequence"

d          is a single digit signifying the unknown file number (not the digit(s) dialled)

c|n        is either "c" for "clean signal" or "n" for noisy signal

For example, dialu2c.wav is the third2 noise-free unknown dial sequence file. Note, however, that the "n" file does not correspond to the "c" file-in other words, dialu3n.wav does not necessarily contain the same digit sequence as dialu3c.wav. Firstly, listen to the sequence using a sound-playing application such as Windows Media Player. Then, test your code from the previous question for the case of a clean (noise- free) signal. For the digit "d", use the last digit of your student number. For example, if your student number is 0123456789, use the file dialu9c.wav.

In your report, include your source code show the output of your code, clearly indicating what your program has determined the sequence of digits to be.

Question 3

Repeat the previous question, but use the noise-corrupted audio file and use the second last digit of your student number

3. For example, if your student number is 098765432, use the file dialu3n.wav.

In your report, include a listing of the output of your code, clearly indicating that it has determined the sequence of digits, together with a discussion of the performance of your method in the presence of noise.

Question 4

Repeat the previous question, but this time uses all of the noise-corrupted audio files. Would you consider your algorithm to be "robust"? (That is, able to handle many different input conditions).

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M9525317

Have any Question?


Related Questions in MATLAB

What comparison of means test was used to answer the

What comparison of means test was used to answer the question

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Suppose that you have used some concept learning algorithm

Suppose that you have used some concept learning algorithm to learn a hypothesis h1 from some training data. You are interested in knowing the accuracy that the hypothesis can be expected to achieve on the underlying pop ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As