MGM's Jawaharlal Nehru Engineering College N-6, Cidco, Aurangabad, Maharashtra Department of Instrumentation & Control Engineering

Size: px
Start display at page:

Download "MGM's Jawaharlal Nehru Engineering College N-6, Cidco, Aurangabad, Maharashtra Department of Instrumentation & Control Engineering"

Transcription

1 MGM's Jawaharlal Nehru Engineering College N-6, Cidco, Aurangabad, Maharashtra Department of Instrumentation & Control Engineering Laboratory Manual Digital Signal & Image Processing Third Year: Semester VI Session: Prepared By: Mr. Saurabh Kumar Assistant Professor

2 Experiment no. 1 AIM: - TO write a MATLAB program to common continues time signals ALGORITHM:- 1. Get the amplitude and frequency of the signal 2. Use sin, cos, square matlab built in functions 3. Using plot function plot the signal MATLAB CODE:- Program: MATLAB Result: clc; clear all; close all; t=0:.001:1; f=input('enter the value of frequency'); a=input('enter the value of amplitude'); %Sine wave% subplot(3,3,1); y=a*sin(2*pi*f*t); plot(t,y,'r'); title('sine wave') %Cosine wave% subplot(3,3,2); z=a*cos(2*pi*f*t); plot(t,z); title('cosine wave') %square wave% subplot(3,3,3); s=a*square(2*pi*f*t);

3 plot(t,s); title('square wave') %ramp wave% subplot(3,3,4); plot(t,t); title('ramp wave') %Unit Step Wave% subplot(3,3,5); plot(t,a,'r'); title('unit step wave') SAMPLE INPUT: Enter the value of frequency2 Enter the value of amplitude1 RESULTS:- Thus the generation of continues time signals using matlab was verified.

4 Experiment no. 2 AIM: - TO write a MATLAB program to common discrete time signals ALGORITHM:- 1. Get the amplitude and frequency of the signal 2. Use sin, cos, square matlab built in functions 3. Using stem function plot the signal Program: Result: clc; clear all; close all; n=0:1:50; f=input('enter the value of frequency'); a=input('enter the value of amplitude'); N=input('Enter the length of unit step' ); subplot(3,3,1); y=a*sin(2*pi*f*n); stem(n,y,'r'); title('sine wave') subplot(3,3,2); z=a*cos(2*pi*f*n); stem(n,z); title('cosine wave') subplot(3,3,3); s=a*square(2*pi*f*n); stem(n,s); title('square wave')

5 subplot(3,3,4); stem(n,n); title('ramp wave') x=0:n-1; d=ones(1,n); subplot(3,3,5); stem(x,d,'r'); title('unit step wave') SAMPLE INPUT: Enter the value of frequency 0.03 Enter the value of amplitude 1 Enter the length of unit step 9 RESULTS: Thus the generation of discrete time signals using matlab was verified.

6 Experiment no. 3 Aim: Write a MATLAB program to find the Discrete Time Fourier Transform (DTFT) of the given sequence. MATLAB Program:- % Evaluation of the DTFT clf; % Compute the frequency samples of the DTFT w = -4*pi : 8*pi/511 : 4*pi; num = [2 1]; den = [1-0.6]; h = freqz(num, den, w); % Plot the DTFT subplot(4,1,1) plot(w,real(h)); title('real part of H(e^{j\omega})') xlabel('\omega /\pi'); ylabel('amplitude'); subplot(4,1,2) plot(w,imag(h));grid title('imaginary part of H(e^{j\omega})') xlabel('\omega /\pi'); ylabel('amplitude'); subplot(4,1,3) plot(w,abs(h));grid title('magnitude Spectrum H(e^{j\omega}) ') xlabel('\omega /\pi'); ylabel('amplitude'); subplot(4,1,4) plot(w,angle(h));grid title('phase Spectrum arg[h(e^{j\omega})]') xlabel('\omega /\pi'); ylabel('phase, radians');

7 Result:-

8 Experiment no.- 4 Aim: Write a MATLAB program to plot magnitude response and phase response of digital FIR Filter using Rectangular window. a. Low pass Filter b. High pass Filter c. Bandpass Filter d. Bandstop Filter a. LOW PASS FIR Filter Designing clc; clear all; close all; N=input('Enter the value of N:'); wc=input('enter cutoff frequency:'); h=fir1(n,wc/pi,rectwin(n+1)); freqz(h); Output: Enter the value of N: 5 Enter cutoff frequency: 0.5*pi b. HIGH PASS FIR Filter Designing Result: clc; clear all; close all; N=input('Enter the value of N:'); wc=input('enter cutoff frequency:'); h=fir1(n,wc/pi, high,rectwin(n+1)); freqz(h); Output: Enter the value of N: 28 Enter cutoff frequency: 0.5*pi c. BAND PASS FIR Filter Designing clc; clear all; MATLAB Program:- Result:- Result:-

9 close all; N=input('Enter the value of N:'); wc=input('enter cutoff frequency:'); h=fir1(n,wc/pi,rectwin(n+1)); freqz(h); Output: Enter the value of N: 28 Enter cutoff frequency: [0.3*pi 0.7*pi] d. BAND STOP FIR Filter Designing Result:- clc; clear all; close all; N=input('Enter the value of N:'); wc=input('enter cutoff frequency:'); h=fir1(n,wc/pi, stop,rectwin(n+1)); freqz(h); Output: Enter the value of N: 28 Enter cutoff frequency: [0.2*pi 0.7*pi] Hanning Window: 1. h=fir1(n,wc/pi,hanning(n+1)); - Low Pass FIR Filter 2. h=fir1(n,wc/pi, high,hanning(n+1)); - High Pass FIR Filter 3. h=fir1(n,wc/pi,hanning(n+1)); - Band Pass FIR Filter 4. h=fir1(n,wc/pi, stop, hanning(n+1)); - Band Stop FIR Filter Hamming Window: 1. h=fir1(n,wc/pi,hamming(n+1)); - Low Pass FIR Filter 2. h=fir1(n,wc/pi, high,hamming(n+1)); - High Pass FIR Filter 3. h=fir1(n,wc/pi,hamming(n+1)); - Band Pass FIR Filter 4. h=fir1(n,wc/pi, stop, hamming(n+1)); - Band Stop FIR Filter

10 Experiment no.-5 AIM: To write and execute programs for image arithmetic operations Introduction: Arithmetic operations like image addition, subtraction, multiplication and division is possible. If there is two images I1 and I2 then addition of image can be given by: I(x,y) = I1(x,y) + I2(x,y) Where I(x,y) is resultant image due to addition of two images. X and y are coordinates of image. Image addition is pixel to pixel. Value of pixel should not cross maximum allowed value that is 255 for 8 bit grey scale image. When it exceeds value 255, it should be clipped to 255. To increase overall brightness of the image, we can add some constant value depending on brightness required. In example program we will add value 50 to the image and compare brightness of original and modified image. To decrease brightness of image, we can subtract constant value. In example program, value 100 is subtracted for every pixel. Care should be taken that pixel value should not less than 0 (minus value). Subtract operation can be used to obtain complement (negative) image in which every pixel is subtracted from maximum value i.e. 255 for 8 bit greyscale image. Multiplication operation can be used to mask the image for obtaining region of interest. Black and white mask (binary image) containing 1s and 0s is multiplied with image to get resultant image. To obtain binary image function im2bw() can be used. Multiplication operation can also be used to increase brightness of the image. Division operation results into floating point numbers. So data type required is floating point numbers. It can be converted into integer data type while storing the image. Division can be used to decrease the brightness of the image. It can also used to detect change in image.

11 Program:- clc; close all; I1 = imread('cameraman.tif'); I2 = imread('rice.png'); subplot(2, 2, 1);imshow(I1);title('Original image I1'); subplot(2, 2, 2);imshow(I2);title('Original image I2'); I=I1+I2; % Addition of two images subplot(2, 2, 3);imshow(I);title('Addition of image I1+I2'); I=I1-I2; %Subtraction of two images subplot(2, 2, 4);imshow(I);title('Subtraction of image I1-I2'); figure; subplot(2, 2, 1);imshow(I1);title('Original image I1'); I=I1+50; subplot(2, 2, 2);imshow(I);title('Bright Image I'); I=I1-100; subplot(2, 2, 3);imshow(I);title('Dark Image I');

12

13 Experiment no. 6 AIM: Resizing AND Cropping an Image To resize an image, use the imresize function. When you resize an image, you specify the image to be resized and the magnification factor. To enlarge an image, specify a magnification factor greater than 1. To reduce an image, specify a magnification factor between 0 and 1. MATLAB Program:- %the command below increases the size of an image by 1.25 times. I = imread('circuit.tif'); J = imresize(i,1.25); imshow(i) figure imshow(j) MATLAB Program:- %Creates an output image with 100 rows and 150 columns. I = imread('circuit.tif'); J = imresize(i,[ ]); imshow(i) figure, imshow(j) Cropping an Image MATLAB Program:- I = imread('circuit.tif') J = imcrop(i); MATLAB Program:- I = imread('circuit.tif'); J = imcrop(i,[ ]);

14 Experiment no. 7 AIM: To write and execute program for geometric transformation of image. MATLAB Program:- clc close all filename=input('enter File Name :','s'); x=imread(filename); x=rgb2gray(x); subplot(2,2,1); imshow(x); title('orignial Image'); y=imrotate(x,45,'bilinear','crop'); subplot(2,2,2); imshow(y); title('image rotated by 45 degree'); y=imrotate(x,90,'bilinear','crop'); subplot(2,2,3); imshow(y); title('image rotated by 90 degree'); y=imrotate(x,-45,'bilinear','crop'); subplot(2,2,4); imshow(y); title('image rotated by -45 degree');

15 Result:-

16 Experiment no. 7 AIM: To write and execute program for geometric transformation and shearing of image. MATLAB Program:- clc; close all; clear all; x = imread('cameraman.tif'); tform = maketform('affine',[1 0 0;.5 1 0; 0 0 1]); y = imtransform(x,tform); figure; subplot(2,2,1); imshow(x); title('orignial Image'); subplot(2,2,2); imshow(y); title('shear in X direction'); tform = maketform('affine',[ ; 0 1 0; 0 0 1]); y = imtransform(x,tform); subplot(2,2,3); imshow(y); title('shear in Y direction'); tform = maketform('affine',[ ; ; 0 0 1]); y = imtransform(x,tform); subplot(2,2,4); imshow(y); title('shear in X-Y direction');

17 Experiment no. 8 Analyzing Images Tasks:- Step 1: Read Image Step 2: Subtract the Background Image from the Original Image Step 3:Increase the Image Contrast Step 4: Threshold the Image Step 5: Identify Objects in the Image Step 6: Examine One Object Step 7: View All Objects Step 8: Compute Area of Each Object Step 9: Create Histogram of the Area

18 MATLAB Program:- Results:- clc; close all; clear all; I = imread('rice.png'); imshow(i) background = imopen(i,strel('disk',15)); figure, surf(double(background(1:8:end,1:8:end))), zlim([0 255]); set(gca,'ydir','reverse'); I2 = I - background; figure, imshow(i2) I3 = imadjust(i2); figure, imshow(i3); level = graythresh(i3); bw = im2bw(i3,level); bw = bwareaopen(bw, 50); figure, imshow(bw) cc = bwconncomp(bw, 4) cc.numobjects grain = false(size(bw)); grain(cc.pixelidxlist{50}) = true; figure, imshow(grain); labeled = labelmatrix(cc); RGB_label = 'c', 'shuffle'); figure, imshow(rgb_label) graindata = regionprops(cc, 'basic') graindata(50).area grain_areas = [graindata.area]; [min_area, idx] = min(grain_areas) grain = false(size(bw)); grain(cc.pixelidxlist{idx}) = true; figure, imshow(grain); nbins = 20; figure, hist(grain_areas, nbins) title('histogram of Rice Grain Area');

Jawaharlal Nehru Engineering College

Jawaharlal Nehru Engineering College Jawaharlal Nehru Engineering College Laboratory Manual SIGNALS & SYSTEMS For Third Year Students Prepared By: Ms.Sunetra S Suvarna Assistant Professor Author JNEC INSTRU. & CONTROL DEPT., Aurangabad SUBJECT

More information

ECE 619: Computer Vision Lab 1: Basics of Image Processing (Using Matlab image processing toolbox Issued Thursday 1/10 Due 1/24)

ECE 619: Computer Vision Lab 1: Basics of Image Processing (Using Matlab image processing toolbox Issued Thursday 1/10 Due 1/24) ECE 619: Computer Vision Lab 1: Basics of Image Processing (Using Matlab image processing toolbox Issued Thursday 1/10 Due 1/24) Task 1: Execute the steps outlined below to get familiar with basics of

More information

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS

LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS LABORATORY - FREQUENCY ANALYSIS OF DISCRETE-TIME SIGNALS INTRODUCTION The objective of this lab is to explore many issues involved in sampling and reconstructing signals, including analysis of the frequency

More information

L A B 3 : G E N E R A T I N G S I N U S O I D S

L A B 3 : G E N E R A T I N G S I N U S O I D S L A B 3 : G E N E R A T I N G S I N U S O I D S NAME: DATE OF EXPERIMENT: DATE REPORT SUBMITTED: 1/7 1 THEORY DIGITAL SIGNAL PROCESSING LABORATORY 1.1 GENERATION OF DISCRETE TIME SINUSOIDAL SIGNALS IN

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters FIR Filter Design Chapter Intended Learning Outcomes: (i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters (ii) Ability to design linear-phase FIR filters according

More information

Electrical & Computer Engineering Technology

Electrical & Computer Engineering Technology Electrical & Computer Engineering Technology EET 419C Digital Signal Processing Laboratory Experiments by Masood Ejaz Experiment # 1 Quantization of Analog Signals and Calculation of Quantized noise Objective:

More information

LABORATORY MANUAL. PROGRAMME: B.Tech SEMESTER /YEAR:VI SUBJECT CODE: BM0312 SUBJECT NAME:BIO SIGNAL PROCESSING

LABORATORY MANUAL. PROGRAMME: B.Tech SEMESTER /YEAR:VI SUBJECT CODE: BM0312 SUBJECT NAME:BIO SIGNAL PROCESSING LABORATORY MANUAL PROGRAMME: B.Tech SEMESTER /YEAR:VI SUBJECT CODE: BM0312 SUBJECT NAME:BIO SIGNAL PROCESSING Prepared By: Name: U.Snekhalatha Designation: Assistant Professor DEPARTMENT OF BIOMEDICAL

More information

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series

THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering. EIE2106 Signal and System Analysis Lab 2 Fourier series THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering EIE2106 Signal and System Analysis Lab 2 Fourier series 1. Objective The goal of this laboratory exercise is to

More information

EP375 Computational Physics

EP375 Computational Physics EP375 Computational Physics Topic 13 IMAGE PROCESSING Department of Engineering Physics University of Gaziantep Apr 2016 Sayfa 1 Content 1. Introduction 2. Nature of Image 3. Image Types / Colors 4. Reading,

More information

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window: Window Method We have seen that in the design of FIR filters, Gibbs oscillations are produced in the passband and stopband, which are not desirable features of the FIR filter. To solve this problem, window

More information

International Journal of Advance Engineering and Research Development. Implementation of Digital Image Basic and Editing functions using MATLAB

International Journal of Advance Engineering and Research Development. Implementation of Digital Image Basic and Editing functions using MATLAB Scientific Journal of Impact Factor(SJIF): 3.134 e-issn(o): 2348-4470 p-issn(p): 2348-6406 International Journal of Advance Engineering and Research Development Volume 2,Issue 6, June -2015 Implementation

More information

Digital Signal Processing

Digital Signal Processing Digital Signal Processing System Analysis and Design Paulo S. R. Diniz Eduardo A. B. da Silva and Sergio L. Netto Federal University of Rio de Janeiro CAMBRIDGE UNIVERSITY PRESS Preface page xv Introduction

More information

Basic Signals and Systems

Basic Signals and Systems Chapter 2 Basic Signals and Systems A large part of this chapter is taken from: C.S. Burrus, J.H. McClellan, A.V. Oppenheim, T.W. Parks, R.W. Schafer, and H. W. Schüssler: Computer-based exercises for

More information

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises

Digital Video and Audio Processing. Winter term 2002/ 2003 Computer-based exercises Digital Video and Audio Processing Winter term 2002/ 2003 Computer-based exercises Rudolf Mester Institut für Angewandte Physik Johann Wolfgang Goethe-Universität Frankfurt am Main 6th November 2002 Chapter

More information

Lecture 3, Multirate Signal Processing

Lecture 3, Multirate Signal Processing Lecture 3, Multirate Signal Processing Frequency Response If we have coefficients of an Finite Impulse Response (FIR) filter h, or in general the impulse response, its frequency response becomes (using

More information

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that

EE 464 Short-Time Fourier Transform Fall and Spectrogram. Many signals of importance have spectral content that EE 464 Short-Time Fourier Transform Fall 2018 Read Text, Chapter 4.9. and Spectrogram Many signals of importance have spectral content that changes with time. Let xx(nn), nn = 0, 1,, NN 1 1 be a discrete-time

More information

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT) Amplitude Amplitude Discrete Fourier Transform (DFT) DFT transforms the time domain signal samples to the frequency domain components. DFT Signal Spectrum Time Frequency DFT is often used to do frequency

More information

Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform

Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform Digital Signal Processing Fourier Analysis of Continuous-Time Signals with the Discrete Fourier Transform D. Richard Brown III D. Richard Brown III 1 / 11 Fourier Analysis of CT Signals with the DFT Scenario:

More information

Unit 4. Frame Processes

Unit 4. Frame Processes 4.1 Why Frame Fusion is Needed Unit 4. Frame Processes There are two basic reasons for fusing two or more frames into a single image frame. First, there may be multiple images of the same scene that each

More information

ECE 5650/4650 MATLAB Project 1

ECE 5650/4650 MATLAB Project 1 This project is to be treated as a take-home exam, meaning each student is to due his/her own work. The project due date is 4:30 PM Tuesday, October 18, 2011. To work the project you will need access to

More information

Mathematical Operations on Basic Discrete Time Signals with MATLAB Programming

Mathematical Operations on Basic Discrete Time Signals with MATLAB Programming Mathematical Operations on Basic Discrete Time Signals with MATLAB Programming N. D. Narkhede 1, Dr. J. N. Salunke 2, V. N. Shah 3 1. Associate Professor, J. T. Mahajan college of Engineering, Faizpur,

More information

Figure 1: Block diagram of Digital signal processing

Figure 1: Block diagram of Digital signal processing Experiment 3. Digital Process of Continuous Time Signal. Introduction Discrete time signal processing algorithms are being used to process naturally occurring analog signals (like speech, music and images).

More information

Solution Set for Mini-Project #2 on Octave Band Filtering for Audio Signals

Solution Set for Mini-Project #2 on Octave Band Filtering for Audio Signals EE 313 Linear Signals & Systems (Fall 2018) Solution Set for Mini-Project #2 on Octave Band Filtering for Audio Signals Mr. Houshang Salimian and Prof. Brian L. Evans 1- Introduction (5 points) A finite

More information

ELT COMMUNICATION THEORY

ELT COMMUNICATION THEORY ELT 41307 COMMUNICATION THEORY Matlab Exercise #1 Sampling, Fourier transform, Spectral illustrations, and Linear filtering 1 SAMPLING The modeled signals and systems in this course are mostly analog (continuous

More information

LAB 4 GENERATION OF ASK MODULATION SIGNAL

LAB 4 GENERATION OF ASK MODULATION SIGNAL Total Marks: / LAB 4 GENERATION OF ASK MODULATION SIGNAL Student Name:... Metrics Num:... Date:... Instructor Name:... Faculty of Engineering Technology (BTECH), Universiti Malaysia Perlis SUBMITTED Signature

More information

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS

ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS ME 365 EXPERIMENT 8 FREQUENCY ANALYSIS Objectives: There are two goals in this laboratory exercise. The first is to reinforce the Fourier series analysis you have done in the lecture portion of this course.

More information

Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN

Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN Universiti Malaysia Perlis EKT430: DIGITAL SIGNAL PROCESSING LAB ASSIGNMENT 1: DISCRETE TIME SIGNALS IN THE TIME DOMAIN Pusat Pengajian Kejuruteraan Komputer Dan Perhubungan Universiti Malaysia Perlis

More information

Experiment 1 Introduction to MATLAB and Simulink

Experiment 1 Introduction to MATLAB and Simulink Experiment 1 Introduction to MATLAB and Simulink INTRODUCTION MATLAB s Simulink is a powerful modeling tool capable of simulating complex digital communications systems under realistic conditions. It includes

More information

Swedish College of Engineering and Technology Rahim Yar Khan

Swedish College of Engineering and Technology Rahim Yar Khan PRACTICAL WORK BOOK Telecommunication Systems and Applications (TL-424) Name: Roll No.: Batch: Semester: Department: Swedish College of Engineering and Technology Rahim Yar Khan Introduction Telecommunication

More information

DFT: Discrete Fourier Transform & Linear Signal Processing

DFT: Discrete Fourier Transform & Linear Signal Processing DFT: Discrete Fourier Transform & Linear Signal Processing 2 nd Year Electronics Lab IMPERIAL COLLEGE LONDON Table of Contents Equipment... 2 Aims... 2 Objectives... 2 Recommended Textbooks... 3 Recommended

More information

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Lecture 2: Elementary Image Operations 16.09.2017 Dr. Mohammed Abdel-Megeed Salem

More information

Project I: Phase Tracking and Baud Timing Correction Systems

Project I: Phase Tracking and Baud Timing Correction Systems Project I: Phase Tracking and Baud Timing Correction Systems ECES 631, Prof. John MacLaren Walsh, Ph. D. 1 Purpose In this lab you will encounter the utility of the fundamental Fourier and z-transform

More information

AC : FIR FILTERS FOR TECHNOLOGISTS, SCIENTISTS, AND OTHER NON-PH.D.S

AC : FIR FILTERS FOR TECHNOLOGISTS, SCIENTISTS, AND OTHER NON-PH.D.S AC 29-125: FIR FILTERS FOR TECHNOLOGISTS, SCIENTISTS, AND OTHER NON-PH.D.S William Blanton, East Tennessee State University Dr. Blanton is an associate professor and coordinator of the Biomedical Engineering

More information

Matlab Exercises. Matlab Exercises 1

Matlab Exercises. Matlab Exercises 1 Matlab Exercises Matlab Exercises for Chapter... 2 2 Matlab Exercises for Chapter 2... 7 3 Matlab Exercises for Chapter 3... 4 Matlab Exercises for Chapter 4... 3 5 Matlab Exercises for Chapter 5... 5

More information

Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB

Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB Digital Signal Processing Laboratory 1: Discrete Time Signals with MATLAB Thursday, 23 September 2010 No PreLab is Required Objective: In this laboratory you will review the basics of MATLAB as a tool

More information

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 Purdue University: ECE438 - Digital Signal Processing with Applications 1 ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015 1 Introduction

More information

Signal Processing Toolbox

Signal Processing Toolbox Signal Processing Toolbox Perform signal processing, analysis, and algorithm development Signal Processing Toolbox provides industry-standard algorithms for analog and digital signal processing (DSP).

More information

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM

EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM EE 215 Semester Project SPECTRAL ANALYSIS USING FOURIER TRANSFORM Department of Electrical and Computer Engineering Missouri University of Science and Technology Page 1 Table of Contents Introduction...Page

More information

Department of Electronics & Comm. Engineering LAB MANUAL. B.E III Year V Semester (Branch: ECE) PERI INSTITUTE OF TEHNOLOGY

Department of Electronics & Comm. Engineering LAB MANUAL. B.E III Year V Semester (Branch: ECE) PERI INSTITUTE OF TEHNOLOGY www.vidyarthiplus.com of 5. Department of Electronics & Comm. Engineering LAB MANUAL SUBJECT: EC36 - DIGITAL SIGNAL PROCESSING LAB B.E III Year V Semester (Branch: ECE) PERI INSTITUTE OF TEHNOLOGY MANNAIVAKKAM,

More information

Lab S-4: Convolution & FIR Filters. Please read through the information below prior to attending your lab.

Lab S-4: Convolution & FIR Filters. Please read through the information below prior to attending your lab. DSP First, 2e Signal Processing First Lab S-4: Convolution & FIR Filters Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification: The Exercise section

More information

EE 422G - Signals and Systems Laboratory

EE 422G - Signals and Systems Laboratory EE 422G - Signals and Systems Laboratory Lab 3 FIR Filters Written by Kevin D. Donohue Department of Electrical and Computer Engineering University of Kentucky Lexington, KY 40506 September 19, 2015 Objectives:

More information

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar

Biomedical Signals. Signals and Images in Medicine Dr Nabeel Anwar Biomedical Signals Signals and Images in Medicine Dr Nabeel Anwar Noise Removal: Time Domain Techniques 1. Synchronized Averaging (covered in lecture 1) 2. Moving Average Filters (today s topic) 3. Derivative

More information

Fourier Series. Discrete time DTFS. (Periodic signals) Continuous time. Same as one-period of discrete Fourier series

Fourier Series. Discrete time DTFS. (Periodic signals) Continuous time. Same as one-period of discrete Fourier series Chapter 5 Discrete Fourier Transform, DFT and FFT In the previous chapters we learned about Fourier series and the Fourier transform. These representations can be used to both synthesize a variety of continuous

More information

MATLAB Assignment. The Fourier Series

MATLAB Assignment. The Fourier Series MATLAB Assignment The Fourier Series Read this carefully! Submit paper copy only. This project could be long if you are not very familiar with Matlab! Start as early as possible. This is an individual

More information

EELE 5110 Digital Image Processing Lab 02: Image Processing with MATLAB

EELE 5110 Digital Image Processing Lab 02: Image Processing with MATLAB Prepared by: Eng. AbdAllah M. ElSheikh EELE 5110 Digital Image Processing Lab 02: Image Processing with MATLAB Welcome to the labs for EELE 5110 Image Processing Lab. This lab will get you started with

More information

Digital Image Processing 3/e

Digital Image Processing 3/e Laboratory Projects for Digital Image Processing 3/e by Gonzalez and Woods 2008 Prentice Hall Upper Saddle River, NJ 07458 USA www.imageprocessingplace.com The following sample laboratory projects are

More information

IMAGE PROCESSING: POINT PROCESSES

IMAGE PROCESSING: POINT PROCESSES IMAGE PROCESSING: POINT PROCESSES N. C. State University CSC557 Multimedia Computing and Networking Fall 2001 Lecture # 11 IMAGE PROCESSING: POINT PROCESSES N. C. State University CSC557 Multimedia Computing

More information

System analysis and signal processing

System analysis and signal processing System analysis and signal processing with emphasis on the use of MATLAB PHILIP DENBIGH University of Sussex ADDISON-WESLEY Harlow, England Reading, Massachusetts Menlow Park, California New York Don Mills,

More information

MATLAB 6.5 Image Processing Toolbox Tutorial

MATLAB 6.5 Image Processing Toolbox Tutorial MATLAB 6.5 Image Processing Toolbox Tutorial The purpose of this tutorial is to gain familiarity with MATLAB s Image Processing Toolbox. This tutorial does not contain all of the functions available in

More information

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS

LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS Eastern Mediterranean University Faculty of Engineering Department of Electrical and Electronic Engineering EENG 360 Communication System I Laboratory LAB 2 SPECTRUM ANALYSIS OF PERIODIC SIGNALS General

More information

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL and COMPUTER ENGINEERING ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters Date: 19. Jul 2018 Pre-Lab: You should read the Pre-Lab section of

More information

Prof. Feng Liu. Fall /04/2018

Prof. Feng Liu. Fall /04/2018 Prof. Feng Liu Fall 2018 http://www.cs.pdx.edu/~fliu/courses/cs447/ 10/04/2018 1 Last Time Image file formats Color quantization 2 Today Dithering Signal Processing Homework 1 due today in class Homework

More information

It is the speed and discrete nature of the FFT that allows us to analyze a signal's spectrum with MATLAB.

It is the speed and discrete nature of the FFT that allows us to analyze a signal's spectrum with MATLAB. MATLAB Addendum on Fourier Stuff 1. Getting to know the FFT What is the FFT? FFT = Fast Fourier Transform. The FFT is a faster version of the Discrete Fourier Transform(DFT). The FFT utilizes some clever

More information

Lakehead University. Department of Electrical Engineering

Lakehead University. Department of Electrical Engineering Lakehead University Department of Electrical Engineering Lab Manual Engr. 053 (Digital Signal Processing) Instructor: Dr. M. Nasir Uddin Last updated on January 16, 003 1 Contents: Item Page # Guidelines

More information

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class

EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class EEL 4350 Principles of Communication Project 2 Due Tuesday, February 10 at the Beginning of Class Description In this project, MATLAB and Simulink are used to construct a system experiment. The experiment

More information

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202)

Department of Electronic Engineering NED University of Engineering & Technology. LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Department of Electronic Engineering NED University of Engineering & Technology LABORATORY WORKBOOK For the Course SIGNALS & SYSTEMS (TC-202) Instructor Name: Student Name: Roll Number: Semester: Batch:

More information

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters Islamic University of Gaza OBJECTIVES: Faculty of Engineering Electrical Engineering Department Spring-2011 DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters To demonstrate the concept

More information

EECS 452 Midterm Exam Winter 2012

EECS 452 Midterm Exam Winter 2012 EECS 452 Midterm Exam Winter 2012 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: # Points Section I /40 Section II

More information

ADSP ADSP ADSP ADSP. Advanced Digital Signal Processing (18-792) Spring Fall Semester, Department of Electrical and Computer Engineering

ADSP ADSP ADSP ADSP. Advanced Digital Signal Processing (18-792) Spring Fall Semester, Department of Electrical and Computer Engineering ADSP ADSP ADSP ADSP Advanced Digital Signal Processing (18-792) Spring Fall Semester, 201 2012 Department of Electrical and Computer Engineering PROBLEM SET 5 Issued: 9/27/18 Due: 10/3/18 Reminder: Quiz

More information

DSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals

DSP First. Laboratory Exercise #7. Everyday Sinusoidal Signals DSP First Laboratory Exercise #7 Everyday Sinusoidal Signals This lab introduces two practical applications where sinusoidal signals are used to transmit information: a touch-tone dialer and amplitude

More information

EGR 111 Image Processing

EGR 111 Image Processing EGR 111 Image Processing This lab shows how MATLAB can represent and manipulate images. New MATLAB Commands: imread, imshow, imresize, rgb2gray Resources (available on course website): secret_image.bmp

More information

1. In the command window, type "help conv" and press [enter]. Read the information displayed.

1. In the command window, type help conv and press [enter]. Read the information displayed. ECE 317 Experiment 0 The purpose of this experiment is to understand how to represent signals in MATLAB, perform the convolution of signals, and study some simple LTI systems. Please answer all questions

More information

Complex Numbers in Electronics

Complex Numbers in Electronics P5 Computing, Extra Practice After Session 1 Complex Numbers in Electronics You would expect the square root of negative numbers, known as complex numbers, to be only of interest to pure mathematicians.

More information

FINITE IMPULSE RESPONSE (FIR) FILTERS

FINITE IMPULSE RESPONSE (FIR) FILTERS CHAPTER 5 FINITE IMPULSE RESPONSE (FIR) FILTERS This chapter introduces finite impulse response (FIR) digital filters. Several methods for designing FIR filters are covered. The Filter Design and Analysis

More information

Understanding Digital Signal Processing

Understanding Digital Signal Processing Understanding Digital Signal Processing Richard G. Lyons PRENTICE HALL PTR PRENTICE HALL Professional Technical Reference Upper Saddle River, New Jersey 07458 www.photr,com Contents Preface xi 1 DISCRETE

More information

Histogram and Its Processing

Histogram and Its Processing Histogram and Its Processing 3rd Lecture on Image Processing Martina Mudrová 24 Definition What a histogram is? = vector of absolute numbers occurrence of every colour in the picture [H(1),H(2), H(c)]

More information

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D. The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D. Home The Book by Chapters About the Book Steven W. Smith Blog Contact Book Search Download this chapter in PDF

More information

Problem Set 1 (Solutions are due Mon )

Problem Set 1 (Solutions are due Mon ) ECEN 242 Wireless Electronics for Communication Spring 212 1-23-12 P. Mathys Problem Set 1 (Solutions are due Mon. 1-3-12) 1 Introduction The goals of this problem set are to use Matlab to generate and

More information

LABORATORY WORK BOOK (TC-202)

LABORATORY WORK BOOK (TC-202) LABORATORY WORK BOOK For Academic Session Semester SIGNALS AND SYSTEMS (TC-202) For SE (TC) Name: Roll Number: Batch: Department: Year/Semester: Department of Electronic Engineering NED University of Engineering

More information

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N]

Frequency Division Multiplexing Spring 2011 Lecture #14. Sinusoids and LTI Systems. Periodic Sequences. x[n] = x[n + N] Frequency Division Multiplexing 6.02 Spring 20 Lecture #4 complex exponentials discrete-time Fourier series spectral coefficients band-limited signals To engineer the sharing of a channel through frequency

More information

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1).

Chapter 5 Window Functions. periodic with a period of N (number of samples). This is observed in table (3.1). Chapter 5 Window Functions 5.1 Introduction As discussed in section (3.7.5), the DTFS assumes that the input waveform is periodic with a period of N (number of samples). This is observed in table (3.1).

More information

Transforms and Frequency Filtering

Transforms and Frequency Filtering Transforms and Frequency Filtering Khalid Niazi Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Reading Instructions Chapter 4: Image Enhancement in the Frequency

More information

Histogram and Its Processing

Histogram and Its Processing ... 3.. 5.. 7.. 9 and Its Processing 3rd Lecture on Image Processing Martina Mudrová Definition What a histogram is? = vector of absolute numbers occurrence of every colour in the picture [H(),H(), H(c)]

More information

BASIC OPERATIONS IN IMAGE PROCESSING USING MATLAB

BASIC OPERATIONS IN IMAGE PROCESSING USING MATLAB BASIC OPERATIONS IN IMAGE PROCESSING USING MATLAB Er.Amritpal Kaur 1,Nirajpal Kaur 2 1,2 Assistant Professor,Guru Nanak Dev University, Regional Campus, Gurdaspur Abstract: - This paper aims at basic image

More information

ECE 3500: Fundamentals of Signals and Systems (Fall 2014) Lab 4: Binary Phase-Shift Keying Modulation and Demodulation

ECE 3500: Fundamentals of Signals and Systems (Fall 2014) Lab 4: Binary Phase-Shift Keying Modulation and Demodulation ECE 3500: Fundamentals of Signals and Systems (Fall 2014) Lab 4: Binary Phase-Shift Keying Modulation and Demodulation Files necessary to complete this assignment: none Deliverables Due: Before your assigned

More information

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase Fourier Transform Fourier Transform Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase 2 1 3 3 3 1 sin 3 3 1 3 sin 3 1 sin 5 5 1 3 sin

More information

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

(i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods Tools and Applications Chapter Intended Learning Outcomes: (i) Understanding the basic concepts of signal modeling, correlation, maximum likelihood estimation, least squares and iterative numerical methods

More information

Department of Electronics & Communication Engineering LAB MANUAL

Department of Electronics & Communication Engineering LAB MANUAL Department of Electronics & Communication Engineering LAB MANUAL SUBJECT: DIGITAL COMMUNICATION [06BEC201] B.Tech III Year VI Semester (Branch: ECE) BHAGWANT UNIVERSITY SIKAR ROAD, AJMER DIGITAL COMMUNICATION

More information

Short-Time Fourier Transform and Its Inverse

Short-Time Fourier Transform and Its Inverse Short-Time Fourier Transform and Its Inverse Ivan W. Selesnick April 4, 9 Introduction The short-time Fourier transform (STFT) of a signal consists of the Fourier transform of overlapping windowed blocks

More information

Transform. Processed original image. Processed transformed image. Inverse transform. Figure 2.1: Schema for transform processing

Transform. Processed original image. Processed transformed image. Inverse transform. Figure 2.1: Schema for transform processing Chapter 2 Point Processing 2.1 Introduction Any image processing operation transforms the grey values of the pixels. However, image processing operations may be divided into into three classes based on

More information

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts

Instruction Manual for Concept Simulators. Signals and Systems. M. J. Roberts Instruction Manual for Concept Simulators that accompany the book Signals and Systems by M. J. Roberts March 2004 - All Rights Reserved Table of Contents I. Loading and Running the Simulators II. Continuous-Time

More information

TPCT s College of Engineering, Osmanabad. Laboratory Manual. Digital Image Processing. For Final Year Students. Manual Prepared by. Prof. S. G.

TPCT s College of Engineering, Osmanabad. Laboratory Manual. Digital Image Processing. For Final Year Students. Manual Prepared by. Prof. S. G. TPCT s College of Engineering, Osmanabad Laboratory Manual Digital Image Processing For Final Year Students Manual Prepared by Prof. S. G.Shinde Author COE, Osmanabad TPCT s College of Engineering Solapur

More information

Reading Instructions Chapters for this lecture. Computer Assisted Image Analysis Lecture 2 Point Processing. Image Processing

Reading Instructions Chapters for this lecture. Computer Assisted Image Analysis Lecture 2 Point Processing. Image Processing 1/34 Reading Instructions Chapters for this lecture 2/34 Computer Assisted Image Analysis Lecture 2 Point Processing Anders Brun (anders@cb.uu.se) Centre for Image Analysis Swedish University of Agricultural

More information

Lab P-10: Edge Detection in Images: UPC Decoding. Please read through the information below prior to attending your lab.

Lab P-10: Edge Detection in Images: UPC Decoding. Please read through the information below prior to attending your lab. DSP First, 2e Signal Processing First Lab P-10: Edge Detection in Images: UPC Decoding Pre-Lab: Read the Pre-Lab and do all the exercises in the Pre-Lab section prior to attending lab. Verification: The

More information

Project 2 - Speech Detection with FIR Filters

Project 2 - Speech Detection with FIR Filters Project 2 - Speech Detection with FIR Filters ECE505, Fall 2015 EECS, University of Tennessee (Due 10/30) 1 Objective The project introduces a practical application where sinusoidal signals are used to

More information

CS 445 HW#2 Solutions

CS 445 HW#2 Solutions 1. Text problem 3.1 CS 445 HW#2 Solutions (a) General form: problem figure,. For the condition shown in the Solving for K yields Then, (b) General form: the problem figure, as in (a) so For the condition

More information

ECC419 IMAGE PROCESSING

ECC419 IMAGE PROCESSING ECC419 IMAGE PROCESSING INTRODUCTION Image Processing Image processing is a subclass of signal processing concerned specifically with pictures. Digital Image Processing, process digital images by means

More information

Spectrum Analysis - Elektronikpraktikum

Spectrum Analysis - Elektronikpraktikum Spectrum Analysis Introduction Why measure a spectra? In electrical engineering we are most often interested how a signal develops over time. For this time-domain measurement we use the Oscilloscope. Like

More information

ECEGR Lab #8: Introduction to Simulink

ECEGR Lab #8: Introduction to Simulink Page 1 ECEGR 317 - Lab #8: Introduction to Simulink Objective: By: Joe McMichael This lab is an introduction to Simulink. The student will become familiar with the Help menu, go through a short example,

More information

System Identification and CDMA Communication

System Identification and CDMA Communication System Identification and CDMA Communication A (partial) sample report by Nathan A. Goodman Abstract This (sample) report describes theory and simulations associated with a class project on system identification

More information

CS3291: Digital Signal Processing

CS3291: Digital Signal Processing CS39 Exam Jan 005 //08 /BMGC University of Manchester Department of Computer Science First Semester Year 3 Examination Paper CS39: Digital Signal Processing Date of Examination: January 005 Answer THREE

More information

INTRODUCTION TO IMAGE PROCESSING

INTRODUCTION TO IMAGE PROCESSING CHAPTER 9 INTRODUCTION TO IMAGE PROCESSING This chapter explores image processing and some of the many practical applications associated with image processing. The chapter begins with basic image terminology

More information

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS RADT 3463 - COMPUTERIZED IMAGING Section I: Chapter 2 RADT 3463 Computerized Imaging 1 SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS RADT 3463 COMPUTERIZED IMAGING Section I: Chapter 2 RADT

More information

Distortion Analysis T S. 2 N for all k not defined above. THEOREM?: If N P is an integer and x(t) is band limited to f MAX, then

Distortion Analysis T S. 2 N for all k not defined above. THEOREM?: If N P is an integer and x(t) is band limited to f MAX, then EE 505 Lecture 6 Spectral Analysis in Spectre - Standard transient analysis - Strobe period transient analysis Addressing Spectral Analysis Challenges Problem Awareness Windowing Post-processing . Review

More information

Jawaharlal Nehru Engineering College

Jawaharlal Nehru Engineering College Jawaharlal Nehru Engineering College Laboratory Manual DIGITAL COMMUNICATION For Third Year Students Manual made by Prof.P.B.Murmude Author JNEC, Aurangabad MGM S Jawaharlal Nehru Engineering College N-6,

More information

Digital Image Processing. Lecture # 3 Image Enhancement

Digital Image Processing. Lecture # 3 Image Enhancement Digital Image Processing Lecture # 3 Image Enhancement 1 Image Enhancement Image Enhancement 3 Image Enhancement 4 Image Enhancement Process an image so that the result is more suitable than the original

More information

Examples of image processing

Examples of image processing Examples of image processing Example 1: We would like to automatically detect and count rings in the image 3 Detection by correlation Correlation = degree of similarity Correlation between f(x, y) and

More information

Matlab for CS6320 Beginners

Matlab for CS6320 Beginners Matlab for CS6320 Beginners Basics: Starting Matlab o CADE Lab remote access o Student version on your own computer Change the Current Folder to the directory where your programs, images, etc. will be

More information

Unit 4. Frame Processes

Unit 4. Frame Processes Unit 4. Frame Processes 4.1 Why Frame Operations are Needed There are three basic reasons for operations on two or more frames (images). First, there may be multiple images of the same scene that each

More information