Professional Documents
Culture Documents
College of Engineering
And Technology
Activity #3
ECE474 Lab
Replace value of T and t (using 3 different values for each). Observe. Explain your
observation.
Theory:
Aliasing is the phenomenon that results in a loss of information when a signal is
reconstructed from its sampled signal.
In Principle, the analogue can be reconstructed from the samples, provided that the
sampling rate is sufficiently high to avoid the problem called Aliasing.
Sinc
Syntax
y = sinc(x)
Description
sinc computes the sinc function of an input vector or array, where the sinc function is
This function is the continuous inverse Fourier transform of the rectangular pulse of width 2
and height 1.
y = sinc(x) returns an array y the same size as x, whose elements are the sinc function of
the elements of x.
The space of functions bandlimited in the frequency range is spanned by the infinite (yet
countable) set of sinc functions shifted by integers. Thus any such bandlimited function g(t)
can be reconstructed from its samples at integer spacings.
EXAMPLE:
n =(0:T:20)';
xs =2*sin(2*pi*f*n);
t = linspace(0,20,1200)';
T=0.1;
ya = sinc((1/T)*t(:,ones(size(n))) -(1/T)*n(:,ones(size(t)))')*xs;
plot(n,xs,'o',t,ya);grid;
xlabel('Time, msec');
ylabel('Amplitude');
title('Reconstructed Continuous Time Signal y_{a}(t)');
axis([0 20 -5 5]);
Exercise:
Using your previous knowledge in generating signal and sampling:
3. Given that the sinc function is fundamental in the concept of reconstructing the
original continuous band limited signal from uniformly spaced samples of that signal,
prove that providing higher sampling rate greatly reduces aliasing. (Plot original
sinusoidal sequence and reconstructed sinusoidal sequence to visually compare the
result). Perform at least 3 sets.