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

  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