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

  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.

  Write a program to implement this process

A computer cannot store an entire function in its memory. Typically it stores the values of the function at a finite number of points. Pick values of a, b, v, N, and Δt, and write a program to implement this process. Be sure to leave a, b, v, N, an..

  If the model tests are to be performed in a wind tunnel

the fluid dynamic characteristics of an airplane flying 240 mph at 10000 ft are to be investigated with the aid of a

  Design a normalized lowpass analog filter

Design a normalized lowpass analog filter by using one of Matlab's routines: buttap, cheb1ap, cheb2ap, ellipap to get your analog poles

  Find command to list the eligible ages

What is the command to change a numeric type into a character (or string) type? double(num) - find command to list the eligible ages

  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.

  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).

  Stepper motor driven xy table

Stepper Motor Driven XY Table - Use Matlab and Labjack to acquire digital inputs from limit switches and use Matlab to analyze acquired data

  The gauss-newton method

Write up your results using our standard format. Show and discuss the results of Steps 1-3 in some detail, including the observed convergence rates of steepest descent versus the Gauss-Newton method

  Calculate an approximation to the energy consumed

Calculate an approximation to the energy consumed over the period and calculate an approximation to the energy consumed over the period t = a to t = b.

  Beginning with the row number passed

Write a MATLAB function that takes a matrix, a row number and a column number. Beginning with the row number passed to the function, scan down the column passed to the function and return the row number that contains the largest absolute value in ..

  Natural frequencies of vibration of a uniform beam

Natural frequencies of vibration of a uniform beam clamped at one end and free at the other are solutions of the equation - output explain how you know your program has actually found the correct "physically meaningful" roots within the expected err..

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