Write a matlab function dtmfdecode

Assignment Help MATLAB Programming
Reference no: EM13862379

Purpose

The purpose of this lab is to design a system to decode DTMF tones.

Assignment

The sole assignment is to write a Matlab function dtmfdecode that decodes DTMF tones and produces a transcript of the number that it encodes.

function str = dtmfdecode(s, fs)
% DTMFDECODE Decode DTMF tones
% str = decodedtmf(s, fs)
% Accepts a array, s, which corresponds to the DTMF tones
% sampled at fs.
% Produces a string transcript that decodes the tones.

In this project, you will be given a .wav file created from tones keyed in by a phone. Here's what you know about these phone tones:

There are between 1 and 10 tones in the file.
The tones have a minimum length of 100 msecs
The tones are separated from each other by a minimum of 50 msecs of silence.
The signal-to-noise ratio will be at least 20 dB. That is, the energy of a section of the file which corresponds to a tone will be at least 10 time greater than a section of the file that corresponds to silence.

The amplitude of the data has been normalized to 1.

There can be a variable amount of 'lead-in' silence at the beginning of the file and 'leadout' silence at the end. The amount could be zero.

Reference no: EM13862379

Questions Cloud

What is plasma and explan in simple word : What is plasma and explan in simple word
What amount of payroll cost : A review of the accounting records of Spiller Manufacturing indicated that the company incurred the following payroll costs during the month of September. Salary of the company president—$32,600. What amount of payroll cost would be classified as sel..
Simulation determine the response of the kerr effect : Use OPTSIM to do this simulation Determine the response of the kerr effect (using OPTSIM software when there is an electric field) applied to an optical fibre (560-580nm). You can use a pulse generator for the voltage source
Write a matlab function dtmfdecode : The sole assignment is to write a Matlab function dtmfdecode that decodes DTMF tones and produces a transcript of the number that it encodes.
Briefly analyse the candidates - mac, dac and rbac : Each has its own strengths and weaknesses and its own application domain. Each depends on its application domain to choose the suitable authorisation methodology based on the application requirements.
Define the role of women in leadership : Faith-based decision making in business (hiring and customers served)
Explain how characters are represented in computers : List and describe the various ways of entering alphanumeric data into computers. Explain how characters are represented in computers. For a given computer instruction, what are the factors that determine how binary digits are interpreted
The relations between the z-transform and pole-zero plot : The purpose of this lab is to help you understand the relations between the z-transform, H(z), the pole-zero plot, the frequency response, H(w), and the impulse response, h[n].

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Develop matlab function for the fixed-point method

Develop your own Matlab function for the Fixed-point method. Use the estimated relative error as your stopping criterion. The first line of your function should be function

  Create a matrix of 5x6

Prepare a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal increments

  Create functions in file

Create Functions in File and how to code this function - Declare function inputs, and outputs

  Set up a quadratic optimization problem

Set up a quadratic optimization problem that will determine the best investment mix, Solve the problem using the MATLAB quadratic optimization routine quadprog. Interpret your results.

  Write a matlab program that plots x1(t)

Plot (by hand) the signal. Write a MatLab program that plots x1(t) , |t|

  Write a function that takes a list of integers

Using ML write a function that takes a list of integers as argument and returns a pair consisting of the sum of the even position and the sum of the odd positions of the list.

  Generate by means data.m an array

Generate by measdata.m an array A withsize (365,24), containing temperature measurements for an entire year [1 January,..., 31 December], 24 hours a day [00.00h,...,23.00h].

  Script that will prompt the user for the reynolds number

Write a script that will prompt the user for the Reynolds number of a flow and will print the region the flow is in.

  Matlab program which will determine your vehicle fuel usage

Create a MATLAB program which will determine your vehicle fuel usage (MPG, miles/gallon) rating for a user defined number of trips ('for' repetition structure). Review the voiceover supplied for an example of the required input/output from this progr..

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

  Program the rank order cluster algorithm with a matrix

Program the rank order cluster algorithm with a matrix with x rows and x columns in any plataform (that the person inputs). I prefer visual studio or visual basic

  Calculate and display the altitude and velocity of rocket

Write a program that will solve the problem specified above( for the rocket). However, lit user of your program is to insert the starting height, and the time the rocket travels.

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