LAB TECHNICIAN Manual prepared by FAILI RAM MEENA DIMPLE BANSAL B.Tech. M.Tech. (P) Assistant Professor
EC 451 SIGNAL PROCESSING LAB-II C(L,T,P) =1(0,0,2)
S. No. List of Experiments Modeling and simulation using MAT LAB 1. To carry out convolution in both continuous time and discrete time systems. 2. Realising a given block diagram having multiplier, adder/subtractor and system (Discrete/Continuous) with given Impulse response. Calculating output for given input. 3. Perform various keying Techniques: PSK, ASK, FSK & MSK. 4. To simulate the transmitter and receiver for BPSK 5. To design and simulate FIR digital filter (LP/HP). 6. To design and simulate IIR digital filter (LP/HP). DSP Lab using TMS320C6XXX DSP Kits 7. To study the architecture of TMS320C6XXX DSP kits using Bloom with DSP. 8. To generate wave form (SINE, COSINE, SQUARE & TRIANGULAR). 9. Verification of Sampling Theorem. 10 Verification of linear/circular convolution.
Experiment No.1 CONVOLUTION
Aim: To carry out convolution in both continuous time and discrete time systems. Apparatus: MATLAB software Theory: Algorithm 1. Get two signals x(m)and h(p)in matrix form or in continous form. 2. The convolved signal is denoted as y(n) 3. y(n)is given by the formula
4. Stop % Program for continous convolution clc; clear all; close all; t1=0: pi/8:2*pi; t2=0: pi/4:2*pi; x= sin (t1); h= cos (t2); y=conv(x,h); figure; subplot (3,1,1); plot(x);ylabel('Amplitude --.'); xlabel('(a) time --.'); subplot(3,1,2); plot(h);ylabel('Amplitude --.'); xlabel('(b) time --.'); subplot(3,1,3); plot(y); ylabel('Amplitude --'); xlabel ('(c) time --.'); disp ('The resultant signal is');y Output
% Program for discrete convolution
% Program for linear convolution of the sequence x=[1, 2] and h=[1, 2, 4] clc; clear all; close all; x=input('enter the 1st sequence'); h=input('enter the 2nd sequence'); y=conv(x,h); figure; subplot(3,1,1); stem(x); ylabel('Amplitude --.'); xlabel('(a) n --.'); subplot(3,1,2); stem(h); ylabel('Amplitude --.'); xlabel('(b) n --.'); subplot(3,1,3); stem(y); ylabel('Amplitude --'); xlabel('(c) n --.'); disp('The resultant signal is');y % Output
Submitted To: Dr. Tushar Kanti Roy Associate Professor Dept. of ETE, RUET Submitted By: Name: Aminur Rahman Bahar Roll: 1704033 Year: 3 Year (ODD) Submission Date: 23-08-21