Swathi M S^J DSP lab record Flipbook PDF

Swathi M S^J DSP lab record
Author:  S

18 downloads 234 Views

Recommend Stories


BIBLIOTECA LAB!
BIBLIOTECA LAB! http://www.jrotero.org/index.php/jro/lab/biblioteca En este espacio encontrarás algunos de los documentos y materiales que ha elabora

Story Transcript

Page |1

LAB DOCUMENTATION

DIGITAL SIGNAL PROCESSING LAB

SUBMITTED BY: SWATHI M S TCR19EC054

DEPARTMENT OF ELECTRONICS AND COMMUNICATION GOVERNMENT ENGINEERING COLLEGE, THRISSUR RAMAVARMAPURAM, KERALA 680009 1

Page |2

2

Page |3

GOVERNMENT ENGINEERING COLLEGE THRISSUR RAMAVARMAPURAM, THRISSUR-680 009, KERALA, INDIA

Vision To be a Premier Institution of Excellence in Engineering Education and Research for Sustainable Development.

Mission Provide Quality Education in Engineering and Technology Foster Passion for Research Transform the Students into Committed Technical Personnel for the Social and Economic Wellbeing of the Nation

3

Page |4

4

Page |5

DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING GOVERNMENT ENGINEERING COLLEGE THRISSUR RAMAVARMAPURAM, THRISSUR-680 009, KERALA, INDIA

Department Vision To become a nationally acclaimed Department of higher learning and research that will serve as a source of knowledge and expertise in Electronics & Communication Engineering.

Department Mission To provide quality education in the area of Electronics and Communication Engineering, for producing innovative and ethically driven professionals adapt at dealing with a globally competitive environment, for the welfare of the nation. To inculcate inquisitiveness in young graduates thereby persuading them to undertake research in emerging areas of Electronics and Communication Engineering.

5

Page |6

6

Page |7

DIGITAL SIGNAL PROCESSING LAB Department of Electronics & Communication Engineering

LAB DOCUMENTATION CERTIFICATE Of work done

Certified that this is the bonafide record of the Digital Signal Processing LAB work done by the following student of the Electronics & Communication Engineering Department, GEC Thrissur, during the academic year 2021-22. Swathi M S (TCR19EC054)

Faculty in Charge

Department Seal

(Sign & Seal)

Internal Examiner

External Examiner

7

Page |8

8

Page |9

LIST OF EXPERIMENTS

Sl. EXPERIMENTS DATE PAGE No. 1 22/11/2021 6 HIGH PASS AND LOW PASS FILTER 2 29/11/2021 9 SIMULATION OF SIGNALS 3 06/12/2021 16 DISCRETE FOURIER TRANSFORM 4 06/12/2021 19 LINEAR CONVOLUTION 5 20/12/2021 22 CIRCULAR CONVOLUTION 6 VERIFICATION OF PARSEVAL’S 03/01/2022 25 THEOREM 7 CONVOLUTION USING OVERLAP- 17/01/2022 27 ADD AND OVERLAP SAVE METHOD 8 24/01/2022 32 PLOTTING AUDIO SIGNALS 9 RECORDING AUDIO 31/01/2022 35 SIGNALS(VOWELS) 10 CONVERTING AN IMAGE TO 07/02/2022 42 GRAYSCALE 11 14/02/2022 45 ADDING NOISE TO AN IMAGE 12 28/02/2022 48 DSP PROCESSOR

9

REMARKS

P a g e | 10

10

P a g e | 11

EXP. No.1 22/11/2021

HIGH PASS AND LOW PASS FILTER

AIM To implement High pass and Low pass filter

SOFTWARE REQUIRED MATLAB

THEORY A high-pass filter (HPF) is an electronic filter that passes signals with a frequency higher than a certain cut-off frequency and attenuates signals with frequencies lower than the cutoff frequency. H(z)=1 - z-1 A low-pass filter is a filter that passes signals with a frequency lower than a selected cut-off frequency and attenuates signals with frequencies higher than the cutoff frequency. H(z)=1 + z-1

PROGRAMS: 1. HIGH PASS FILTER clear all h=[1,-1] x=[1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1,-1,1] y=[1,1,1,1,1,1,1,1] z=conv(x,h) plot(z)

11

P a g e | 12

OBSERVATION • HIGH PASS FILTER

• LOW PASS FILTER

12

P a g e | 13

2. LOW PASS FILTER clear all x=[1,-1,1,-1,1,-1,1,-1,1]; h=[1,1,1,1,1,1]; y=[1,1,1,1,1,1,1,1] z=conv(x,h) plot(z)

RESULT The output of High pass and low pass filter verified.

13

P a g e | 14

OBSERVATIONS enter the n value for unit ramp signal 4 enter the n value for unit step signal 4

14

P a g e | 15

EXP. No.2 29/11/2021

SIMULATION OF SIGNALS

AIM Simulate the following Signals using MATLAB 1. 2. 3. 4. 5. 6. 7.

Unit impulse signal Sine wave Unit Ramp signal Square wave Triangle wave Sawtooth wave Unit step wave

SOFTWARE REQUIRED MATLAB

PROGRAMS t=-2:1:2; y=[zeros(1,2),ones(1,1),zeros(1,2)] figure(1) subplot(2,2,1); stem(t,y); title('unit impulse'); n=[0:0.1:2*pi] x=sin(n) plot(n,x) figure(2) title('SINE WAVE ') 15

P a g e | 16

16

P a g e | 17

x=0:0.01:10 y=square(x) figure(3) plot(y) title('SQUARE WAVE ') x=[-1:0.01:1] y=-x z=[x,y] for(k=1:2) z=[z,z] figure(4) plot(z) end title('TRIANGULAR WAVE ') x=[-1:0.01:1] y=x z=[x,y] for (k=1:2) z=[z,z] figure(5) plot(z) end title('SAWTOOTH WAVE ') n=input('enter the n value for unit ramp signal'); t=0:n; y=ones(1,n); 17

P a g e | 18

18

P a g e | 19

figure(6) subplot(2,2,3); stem(t,t); title('unit ramp'); n=input('enter the n value for unit step signal'); t=0:1:n-1; y=ones(1,n); figure(7) subplot(2,2,2); stem(t,y); title('unit step');

RESULT Plotted the basic signals.

19

P a g e | 20

20

P a g e | 21

EXP. No.3 06/12/2021

DISCRETE FOURIER TRANSFORM

AIM To find the DFT of a given sequence.

SOFTWARE REQUIRED MATLAB

THEORY The DFT of a sequence is given by the equation, 𝑁−1

𝑋(𝑘) = ∑ 𝑥(𝑛)𝑒 𝑛=0

PROGRAMS x=input('Enter the sequence x= '); N=input('Enter the length of the DFT N= '); len=length(x); if N>len x=[x zeros(1,N-len)]; elseif N

Get in touch

Social

© Copyright 2013 - 2024 MYDOKUMENT.COM - All rights reserved.