Professional Documents
Culture Documents
Outputs
Outputs
LINEAR CONVOLUTION
INPUT:
Enter the first sequence, x1(n)= [1 2 3 4]
Enter the second sequence, x2(n) = [2 1 2 1]
OUTPUT:
Convolution of two sequences x1 and x2
2 5 10 16 12 11 4
OUTPUT:
Output sequence of circular convolution, y (n) =
17 15 18 16 14
RESULT:
The linear convolution and circular of two sequences are performed using MATLAB.
EXPERIMENT NO:2
AUTO CORRELATION
INPUT:
Enter input sequence [3 4 5 6]
OUTPUT:
The values of z are =
18 39 62 86 62 39 18
CROSS CORRELATION
INPUT:
Enter the first sequence x(n) =[1 5 6 7]
Enter the second sequence y(n) =[3 4 2 1]
OUTPUT:
Cross Correlation Output =
1 7 20 42 53 46 21
RESULT :
The auto correlation and cross correlation of two sequences is performed using MATLAB.
EXPERIMENT NO:3
LINEAR CONVOLUTION USING DFT
(OVERLAP-ADD METHOD)
INPUT:
enter input sequence [1,2,-1,2,3,-2,-3,-1,1,1,2,-1]
enter impulse sequence [1,2,1,1]
Enter length of each block before appending zeros 4
OUTPUT:
The output of x(n) convolution with h(n) in overlap add method is y(n)=
Columns 1 through 12
1.0000 4.0000 4.0000 3.0000 8.0000 5.0000 -2.0000 -6.0000 -6.0000 -1.0000 4.0000
5.0000
Columns 13 through 19
OUTPUT:
The output of x(n) convolution with h(n) in overlap save method is y(n)=
1 4 4 3 8 5 -2 -6 -6 -1 4 5 1 1 -1
RESULT:
The linear convolution of two sequences performed using overlap add and overlap save methods using
MATLAB.
EXPERIMENT NO:4
N-POINT DFT
INPUT:
Number of DFT points = 8
Enter the sequence x(n) = [1 2 3 4 4 3 2 1
OUTPUT:
DFT of the sequence
20.0000 + 0.0000i , -5.8284 - 2.4142i , 0.0000 - 0.0000i , -0.1716 - 0.4142i , 0.0000 -0.0000i ,-0.1716 +
0.4142i, -0.0000 - 0.0000i, -5.8284 + 2.4142i
magnitude =
20.0000 6.3086 0.0000 0.4483 0.0000 0.4483 0.0000 6.3086
Phase =
0 -2.7489 -1.5013 -1.9635 -1.5708 1.9635 -3.1085 2.7489
RESULT:
The N-point DFT of a given sequence is computed and magnitude and phase responses are plotted using
MATLAB.
EXPERIMENT NO:5
DECIMATION IN TIME RADIX-2 FFT ALGORITHM
INPUT:
Enter the sequence: [2 2 2 2 1 1 1 1]
Enter the Point:8
OUTPUT:
The DFT of a given sequence using radix-2 DIT-FFT is:
Columns 1 through 6
12.0000 + 0.0000i 1.0000 - 2.4142i 0.0000 + 0.0000i 1.0000 - 0.4142i 0.0000 + 0.0000i 1.0000 +
0.4142i
Columns 7 through 8
0.0000 + 0.0000i 1.0000 + 2.4142i
RESULT:
The DFT of a given sequence computed using radix-2 DIT-FFT using MATLAB.
EXPERIMENT NO:6
DECIMATION IN FREQUENCY RADIX-2 FFT ALGORITHM
INPUT:
Enter the sequence: [2 2 2 2 1 1 1 1]
Enter the Point:8
OUTPUT:
The DFT of a given sequence using radix-2 DIF-FFT is:
Columns 1 through 6
12.0000 + 0.0000i 1.0000 - 2.4142i 0.0000 + 0.0000i 1.0000 - 0.4142i 0.0000 + 0.0000i 1.0000 +
0.4142i
Columns 7 through 8
0.0000 + 0.0000i 1.0000 + 2.4142i
RESULT:
The DFT of a given sequence computed using radix-2 DIF-FFT using MATLAB.
EXPERIMENT NO:7
IIR -LOW PASS FILTER
INPUT:
Enter the pass band frequency, fp= 400
Enter the stop band frequency, fs= 800
Enter the pass band ripple,rp= 0.4
Enter the stop band ripple, rs= 30
Enter the sample frequency 2000
OUTPUT:
RESULT:
The IIR Low pass and High pass filter, magnitude and phase responses computed using MATLAB.
EXPERIMENT NO:8
FIR -LOW PASS FILTER
INPUT
Enter passband ripple 0.02
Enter the stopband ripple 0.01
Enter passband frequency 1000
Enter stopband frequency 1500
Enter sampling frequency 10000
Enter beta value 14
Enter your choice of window function 1. rectangular 2. triangular 3.kaiser
OUTPUT:
1.Rectangular window filter response
2.Triangular window filter response
RESULT:
The FIR Low pass and High pass filter magnitude and phase responses computed using MATLAB.
EXPERIMENT NO:9
DECIMATION PROCESS
INPUT:
OUTPUT:
INTERPOLATION PROCESS
INPUT:
RESULT:
The decimation and interpolation of a given sequence is computed using MATLAB.
EXPERIMENT NO:10
I/D SAMPLING RATE CONVERSION
INPUT:
OUTPUT:
RESULT:
The I/D sampling rate conversion is implemented using MATLAB.
EXPERIMENT NO:11
MAC OPERATION USING VARIOUS ADDRESSING MODES
USING DSP PROCESSOR
ADDITION:
INPUT:
Data Memory: A000h 0004h
A001h 0004h
OUTPUT:
Data Memory: A002h 0008h
SUBTRACTION:
INPUT:
Data Memory: A000h 0004h
A001h 0002h
OUTPUT:
Data Memory: A002h 0002h
RESULT:
Thus, the MAC operat ion using various addressing modes of DSP processor TMS320C6713 is
performed
EXPERIMENT NO:12
UP-SAMPLING AND DOWN-SAMPLING IN DSP PROCESSOR
SHOULD WRITE THIS AIM INSTEAD OF AIM WHICH IS THERE IN SOFT COPY OF
LAB MANUAL
AIM: To perform the up-sampling and down-sampling of given discrete sequence in TMS320C6713
KIT
DECIMATION:
INPUT:
Enter the No of input vector: 10⇒ Enter.
Enter sampling value: 2⇒ Enter.
Enter values for i/p x(n): – 1 2 3 4 5 6 7 8 9 ⇒ Enter.
OUTPUT:
INTERPOLATION:
INPUT:
RESULT:
The up-sampling and down-sampling of given discrete sequence in TMS320C6713 KIT are
performed