

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A lab experiment on digital signal processing focusing on speech sampling, generation of sinusoids at different sampling rates, and reconstruction of sampled signals using low pass filters. The lab includes instructions for performing these tasks using matlab, including recording speech at various sampling rates, plotting the recorded speech, playing the speech, and analyzing the effects of removing samples. Additionally, the lab covers generating and filtering sinusoids.
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Digital Signal Processing Lab
1.1 Speech sampling 1.2 Generation of sinusoid at different sampling rates 1.3 Reconstruction of sampled sinusoid using low pass filter
Under certain conditions a continuous tim esignal can be com pletely represented by and recoverable from knowledge of its values or samples at points equally spaced in time. It is exploited, for exam ple, in m oving pictures, which consist of a sequence of individual fram es each of which represents an instantaneous view of a continuously changing scene. When these samples are viewed in sequence at a sufficiently fast rate, we perceive an accurate representation of the original continuously moving scene. The only way that a com puter can handle a continuous (analog) signal is by sampling them. The sam pling frequency has to be at least TW ICE the m aximum frequency in the continuous signal, that is the ABSOLUTE m aximum frequency, not just the twice the maximum frequency that you are interested in. More formally this is:
fs > 2·fmax
Sampling at this rate will not result in any loss of inform ation, but if you sam ple at less than this then you will not be able to reconstruct the signal as it first appeared. The reason f or this is that sam pling a signal is equivalent to m ultiplying it by a series of delta functions. In real life continuous signals have frequencies that are beyond any sam pling frequency possible, they m ight even contain infinite frequencies!! One way round this is to pass the signal through a low pass filter that stops any frequencies ABOVE half the sampling frequency. This is still not perfect, but is a practical method. So, sam pling rate can be reduced up to above discussed rate. Now, the reconstruction process is possible by m ean of low pass f ilter. Low pass f ilter works as an interpolator. In this lab we will study the reconstruction process.
Digital Signal Processing Lab
3.1 Speech sampling Write a MATLAB code that perform following steps
π (^).