Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Table below shows the combinations of tone frequencies used in a touch tone telephone keypad. Write a Matlab program that prompts the user to

image text in transcribed

The Table below shows the combinations of tone frequencies used in a touch tone telephone keypad. Write a Matlab program that prompts the user to enter via keyboard a telephone number (ignore '*' and keys), including the area code, and then plays (using the function sound () the corresponding dual tone multiple frequency (DTMF) sequence. Each tone MUST be played at 0.5 seconds at a sampling period of 1/8192 seconds. Your program MUST perform the following tasks: The telephone number entered via keyboard MUST be inputted as a SINGLE STRING Your program MUST be able to retrieve the 10 digits and take care of different input formats such as: (123)456-7890, 123-456-7890, 1234567890, etc. Your program MUST also verify whether the telephone number entered (excluding characters) has ten digits. If not, your program must display a message to the user and allow him/her to reenter the number without the need to rerun the program. Use the Matlab built-in functions str2double and is an(to retrieve the numerical values Plot the tones corresponding to the fourth and the eighth digits entered by the user in the same figure in the time interval [0.20, 0.221. Write inside each plot the corresponding digit and use appropriate axis labels for the plots. Your program MUST also allow the user to START OVER as often he/she wishes, WITHOUT THE NEED to rerun the program

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

Step: 3

blur-text-image

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

Database Technology And Management Computers And Information Processing Systems For Business

Authors: Robert C. Goldstein

1st Edition

0471887374, 978-0471887379

More Books

Students also viewed these Databases questions

Question

=+ What topics are contained in the contracts?

Answered: 1 week ago

Question

=+Are they specific or general in nature?

Answered: 1 week ago