0% found this document useful (0 votes)
59 views3 pages

ADC Assignment 02 19036

This document provides instructions for Assignment 02 of the Analog & Digital Communication course. Students must complete the assignment individually in MATLAB by: 1) Reading and plotting the audio track "Test.wav" to display the two channels separately and compute/plot the FFT. 2) Answering questions about the significance of FFT length and sampling frequency on results, and why audio files contain two signals. The assignment is due by Monday, March 20, 2023 at 2359 hours.
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)
59 views3 pages

ADC Assignment 02 19036

This document provides instructions for Assignment 02 of the Analog & Digital Communication course. Students must complete the assignment individually in MATLAB by: 1) Reading and plotting the audio track "Test.wav" to display the two channels separately and compute/plot the FFT. 2) Answering questions about the significance of FFT length and sampling frequency on results, and why audio files contain two signals. The assignment is due by Monday, March 20, 2023 at 2359 hours.
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/ 3

Analog & Digital Communication Spring 2023

Analog & Digital Communication (EEE 330)

Assignment 02, BEEE VIII (A & B)

Total Marks: 20 Deadline: 2359 Hours Monday, March20,


2023

Instructions:
 Assignment must be done INDIVIDUALLY using MATLAB.
 The MATLAB code must be properly commented to describe the code flow.
 All MATLAB figures must be properly formatted along with appropriate scales, titles, axes labels and
grid lines.
 Refer to the introductory lecture for detailed instructions regarding assignment submission.
 This assignment includes one audio track in .wav format named Test.wav.

Question # 01: CLO 02


a. Read and play the audio track “Test.wav” using MATLAB. Plot (in time domain) both channels
separately using „subplot‟ command. Compute and plot the fft of this signal.
b. Answer the following

1. What is the significance of fft length? Briefly discuss the effects of variation of fft length
on results.

When we apply the FFT algorithm to a signal, we convert it from the time domain to the
frequency domain. The length of the FFT determines how many frequency bins we have
to represent the frequency content of the signal.

In simple terms, we can imagine the FFT as a musical instrument with different-sized
pipes that produce different notes when air is blown through them. The length of the FFT
determines the number of pipes we have to represent the different notes (frequency
content) in the signal.

A longer FFT length will result in more frequency bins and thus more detailed
information about the frequency content of the signal. However, it also increases the
processing time and requires more memory. A shorter FFT length will result in fewer
frequency bins and less detailed information, but will be faster to process and require
less memory.

2. What is the significance of sampling Frequency Fs? Briefly discuss the effects of
variation of Fs on results.

The sampling frequency (Fs) represents the rate at which samples of an analog signal
are taken and is measured in Hertz (Hz). It determines the highest frequency component
that can be represented in the digital signal and affects the accuracy of the
reconstructed analog signal. A higher sampling frequency results in a better
representation of the analog signal, but also requires more storage space and
processing power. On the other hand, a lower sampling frequency results in a loss of
information and a degradation of the reconstructed analog signal. Therefore, selecting
an appropriate sampling frequency is crucial for accurate and efficient signal processing.

3. Why do we have two signals from the audio files used the assignment?

Audio files files are recorded and stored as stereo signals! This means that instead of
having just one channel of audio data, there are two channels: left and right.
Now, you might be thinking, why do we need two channels for the same audio content?
Well, the answer is simple - the two signals represent the same audio content, but they
are recorded from different locations or perspectives.

So, by separating the two signals, we can perform different processing or analysis on
each channel independently. Or, if we want a mono signal, we can combine both
channels into one.

In our case the given file is a mono signal.


Course Instructor: Muhammad Tilal Page 1 of 1

You might also like