0% found this document useful (0 votes)
50 views4 pages

21ELEC14C - Signals and Systems - Project - Resit

This document outlines a project assignment on signal and systems for a re-sit module. Students are asked to [1] Develop a DTMF synthesizer function in MATLAB to generate signals for individual digits and numbers, [2] Write a script to test the function by generating the signal for the number 555-1212, and [3] Play back the resulting signal. The document provides details on the required functions, arguments, and expected durations for each digit and pause. Students must submit a report, MATLAB code files, and a sound file by a specified due date to receive full credit.

Uploaded by

Ghulam Abbas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views4 pages

21ELEC14C - Signals and Systems - Project - Resit

This document outlines a project assignment on signal and systems for a re-sit module. Students are asked to [1] Develop a DTMF synthesizer function in MATLAB to generate signals for individual digits and numbers, [2] Write a script to test the function by generating the signal for the number 555-1212, and [3] Play back the resulting signal. The document provides details on the required functions, arguments, and expected durations for each digit and pause. Students must submit a report, MATLAB code files, and a sound file by a specified due date to receive full credit.

Uploaded by

Ghulam Abbas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Module Code: 21ELEC14C

Re-sit Project Assignment


Module Title
Signal and Systems
Module Leader Semester
Dr. Ahmed M. Abdelhaleem One 21-22
Equipment allowed: Weight 20%
MATLAB

Instructions to Students

• Group Size: one Students.


• Required Software: MATLAB.
• Read the project description carefully!
• Please be rigorous, state all your assumptions.
• Please write legibly. Show your work for full credit!
• All submitted reports will be subject to plagiarism check.
21ELEC14C Signals and Systems 2021/22

Project Description
Signals are part of our daily lives. We work with a wide variety of signals on a day-today
basis whether we realize it or not. A signal is defined as any natural quantity that varies
according to one or more independent variables such as time or space. Time is usually the
independent variable, but other variables like frequency can also be considered. Examples
of signals are a sound, an image, an electrical current or voltage, a transmitted message, and
many others. From a mathematical point of view, a signal is described by a function of one
or more independent variables. According to the number of independent variables, a signal
is characterized as a one-dimensional (1-D), a two-dimensional (2-D), or a
multidimensional signal.

In this project the concept of dual-tone multi-frequency (DTMF) signaling will be


explored. As the name implies, DTMF signals are mixtures of two sinusoids at distinct
frequencies. They are used in communications over analog telephone lines. A particular
version of DTMF signaling is utilized in dialing a number with push-button telephone
handsets, a scheme known as touch tone dialing. When the caller dials a number, the
DTMF generator produces a dual-tone signal for each digit dialed. The synthesized signal
is in the form

Frequency assignments for the digits on a telephone keypad are shown in Figure below.

Page 2/3
The goal of this project is to develop a DTMF synthesizer function for MATLAB.
1) Develop a function named ss_dtmf1(..) to produce the signal for one digit. The syntax
of the function should be

x = ss_dtmf1 (n, t)

The first argument “n” is the digit for which the DTMF signal is to be generated. Let
values n = 0 through n = 9 represent the corresponding keys on the keypad. Map the
remaining two keys “*” and “#” to values n = 10 and n = 11 respectively. Finally, the
value n = 12 should represent a pause, that is, a silent period. The vector “t” contains
the time instants at which the DTMF signal x (t) is evaluated and returned in vector
“x”.

2) Develop a function named ss_dtmf(..) with the syntax

x = ss_dtmf (number, dt, nd, np)

The arguments for the function ss_dtmf(..) are defined as follows:

number: The phone number to be dialed, entered as a vector. For example, to dial
the number 555-1212, the vector ” number” would be entered as number =
[5,5,5,1,2,1,2]

dt: The time increment 𝛥𝑡 to be used in computing the amplitudes of the DTMF
signal.

nd: Parameter to control the duration of the DTMF signal for each digit. The duration
of each digit should be

𝑇𝑑 = 𝑛𝑑 𝛥𝑡

np: Parameter to control the duration of pause between consecutive digits. The
duration of pause should be

𝑇𝑝 = 𝑛𝑝 𝛥𝑡

The function ss_dtmf(..) should use the function ss_dtmf1(..) to produce the signals
xk (t) for each digit (and the pauses between digits) and append them together to create
the signal x (t).

3) Write a script to test the function ss_dtmf(..) with the number 555-1212. Use a time-
increment of 125 microseconds corresponding to 8000 values per second. The duration
of each digit should be 200 milliseconds with 80 millisecond pauses between digits.

4) Play back the resulting signal x (t) using the sound(..) function.

Page 3/3
Please note, the more insightful discussions you propose, the higher grade you get from this
project. Comparative analysis, through results and graphs, indicates your understanding.
Adding comments in codes allows us to understand your design approach.

Deliverables
At the end of the project, each student should submit the following:
• Report containing task description, MATLAB codes, and plots with clear
comments.
• All ".m" files generated by MATLAB (soft & hard copies).
• A sound file (soft copy) containing the results.

Due Dates
You need to strictly follow these due dates to get a full credit:
• Submission: by the end of xxth Week.

Page 4/3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy