Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DTMF Dial Function In the class you were given the first part of the function named dtmf.m to implement a DTMF dialer based on the

image text in transcribedimage text in transcribed

DTMF Dial Function In the class you were given the first part of the function named "dtmf.m" to implement a DTMF dialer based on the frequency table defined in Figure 1. Figure 2 is the skeleton of the function presented in the class Row/Column 4 1209Hz 1336Hz1477Hz1633Hz 1 697Hz 2 770Hz 3 852Hz 4 941Hz 4 Figure 1: DTMF Frequency Table function xx=dtmfdial (keyNames, fs) %DTMFDIAL Create signal vector of DTMF tones that will dial a Touch Tone telephone. %usage: xx=dtmfdial (keyNames, f3) keyNames . character string with valid key names fs- sampling frequency xx= signal vector that is the concatenation of DTMF tones 10 11-dtmf.keys-.. 13 14-ff rows [697: 770: 852: 941: 15dtmf.colTones ones (4,1)ff cols: 16- dtmf. rowTones=ff rows* nes (1,4) ; ff_cols-[1209, 1336, 1477, 16331: Figure 2: First part of the dtmf.m (a DTMF phone dialer) Complete this function with additional lines of code so that it implements the following 1. The input to the function is a vector of characters, each one being equal to one of the key names on the telephone. ( The MATLAB structure called dtmf contains the key names in the field dtmf.keys which is a 4 4 array that corresponds exactly to the keyboard layout in Fig.1) DTMF Dial Function In the class you were given the first part of the function named "dtmf.m" to implement a DTMF dialer based on the frequency table defined in Figure 1. Figure 2 is the skeleton of the function presented in the class Row/Column 4 1209Hz 1336Hz1477Hz1633Hz 1 697Hz 2 770Hz 3 852Hz 4 941Hz 4 Figure 1: DTMF Frequency Table function xx=dtmfdial (keyNames, fs) %DTMFDIAL Create signal vector of DTMF tones that will dial a Touch Tone telephone. %usage: xx=dtmfdial (keyNames, f3) keyNames . character string with valid key names fs- sampling frequency xx= signal vector that is the concatenation of DTMF tones 10 11-dtmf.keys-.. 13 14-ff rows [697: 770: 852: 941: 15dtmf.colTones ones (4,1)ff cols: 16- dtmf. rowTones=ff rows* nes (1,4) ; ff_cols-[1209, 1336, 1477, 16331: Figure 2: First part of the dtmf.m (a DTMF phone dialer) Complete this function with additional lines of code so that it implements the following 1. The input to the function is a vector of characters, each one being equal to one of the key names on the telephone. ( The MATLAB structure called dtmf contains the key names in the field dtmf.keys which is a 4 4 array that corresponds exactly to the keyboard layout in Fig.1)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions

Question

What are control limits, and how are they set?

Answered: 1 week ago

Question

a. Do team members trust each other?

Answered: 1 week ago

Question

a. How will the leader be selected?

Answered: 1 week ago