Implementation of Decimation Process
AIM: To implementation of decimation of given sequence by factor M.
EQUIPMENTS:
Operating System - Windows XP
Constructor - Simulator
Software - CCStudio 3 & MATLAB 7.5
PROGRAM:
Clc;
Close all;
Clear all;
N=input(‘ input length of the sine seq’);
M= input(‘ down sampling factor’);
fi= input(‘ input signal freq’); % generation of sine sequence
t=0:N-1;
L=input(‘ enter the factor value’);
m=0:N*L-1;
x=sin(2*pi*fi*m);
%generate the down sample signal
Y=x([1:m:length(x)]);
Y([1:L:length(x)])=x;
Subplot(2,1,1);
Stem(n,x(1:N));
Title(‘ input sequence’);
Xlable(‘time’);
Ylabel(‘amplitude’);
Subplot(2,1,2);
Stem(n, Y);
Title([‘ output sequence ‘,num2str(m)]);
Xlable(‘time’);
Ylabel(‘amplitude’);
RESULT: The decimator for a given sequence is observed for chosen factor M.
Hence the theory and practical is verified.
VIVA QUESTIONS:
- What is the importance of decimation for a given signal/sequence?
- What do you mean Aliasing? What is the condition to avoid aliasing for sampling?
- How does poly phase filtering save computations in a decimation filter?
- Give any practical application of decimation?
- Which signals can be down sampled?
- What happens if I violate the Nyquist criteria in down sampling or decimating?
- Can we do decimate in multiple stages?
- What are "decimation" and "downsampling"?
- What is the "decimation factor"?
-
UpdatedFeb 03, 2020
-
Views2,751
Generation of basic signals using MATLAB
Design of FIR filters of Low pass and high pass filter using Matlab commands
Find DFT / IDFT of given DT signal
Implementation of analog IIR low pass and high pass filter for a given sequence
Find frequency response of a given system given in (Transfer Function/ Differential equation form
Implementation of FFT of a given sequence