Study of Signals, Systems and Transforms. Design of FIR and IIR Filters. Advanced tools for Signal Processing

Size: px
Start display at page:

Download "Study of Signals, Systems and Transforms. Design of FIR and IIR Filters. Advanced tools for Signal Processing"

Transcription

1 A Hands-on Training Session on MATLAB for Signal Processing In Connection with the FDP on Electronic Design GCE Kannur 11 th 15 th December 2017 Resource Person : Dr. A. Ranjith Ram Associate Professor, ECE Dept. Govt. College of Engineering Kannur Cell : arr@gcek.ac.in Objectives : Study of Signals, Systems and Transforms Design of FIR and IIR Filters Advanced tools for Signal Processing Study of Signals, Systems and Transforms 30 Minutes Design of FIR and IIR Filters 30 Minutes Advanced tools for Signal Processing 30 Minutes 2 Dr. A. Ranjith Ram arr@gcek.ac.in 1

2 Outline Signals in MATLAB Environment Correlation & Convolution Laplace Transform & Z-Transform Circular Convolution and Parseval s Theorem Systems Impulse Response & Frequency Response Transfer Function and Pole-Zero Plots Design of FIR and IIR Filters Advanced Tools : wvtool, fvtool, fdatool and sptool 3 ECE Toolboxes of Interest Signal Processing Toolbox Communications System Toolbox Computer Vision System Toolbox DSP System Toolbox Wavelet Toolbox Image Acquisition Toolbox Image Processing Toolbox Data Acquisition Toolbox Fuzzy Logic Toolbox Symbolic Math Toolbox Statistics Toolbox Phased Array System Toolbox Neural Network Toolbox Optimization Toolbox RF Toolbox Control System Toolbox 4 Dr. A. Ranjith Ram arr@gcek.ac.in 2

3 Useful Built-in Functions exp() filter() dirac() conv() sinc() cconv() erf() impz erfc() step() gamma() freqz() xcorr() fir1() corr() firpm() laplace() butter() ztrans() buttord() fft() cheby1() dct() cheby2() hilbert() sptool() 5 Signal Input to MALAB Three methods of inputting signals to MATLAB : generated by using MATLAB functions itself from memory read an audio file read a speech file from I/O devices input from a sensor input from an instrument Input from a microphone 6 Dr. A. Ranjith Ram arr@gcek.ac.in 3

4 Signal Input Examples x = rand(1, 200); [x fs] = wavread( aud.wav ); S = load( filemname ); import menu import a file 7 Signal Output from MATLAB Three methods of outputting signals from MATLAB : directly showing in the command window to memory create and write an audio file from a MATLAB variable write an array of samples from a MATLAB variable to I/O devices output to a DAC output to a loudspeaker output to a display 8 Dr. A. Ranjith Ram arr@gcek.ac.in 4

5 Signal Output Examples sprintf( The signal is %d', x) or display(x) fid = fopen('exp.txt','w'); fprintf(fid,'%6.2f %12.8f\n',y); fclose(fid); wavwrite(s,fs, au.wav ) save( filename, var) save menu / sound(s,fs) 9 Generating Basic Analog Signals >> t = 1:20; >> a = 0.2; >> x = exp(a*t); >> plot(x); Define the time span Define other parameters Generate the signal and plot it Generate & plot an analog signum function Generate & plot an analog sinc function Generate & plot an analog gaussian function 10 Dr. A. Ranjith Ram arr@gcek.ac.in 5

6 Generating Basic Discrete Signals >> n = 1:20; >> a = 0.2; >> x = exp(a*n); >> stem(x); Define sampling instants Define other parameters Generate the signal and plot it Generate & plot a discrete signum function Generate & plot a discrete sinc function Generate & plot a discrete gaussian function 11 Correlation of two Signals Cross Correlation Function : c = xcorr(x,y) where x and y are having a length M (M > 1) and c is a 2*M 1 sequence If x and y are of different length, the shortest one is zero-padded c will be a row vector if x is a row vector, and c will be a column vector if x is a column vector >> x = 1:5 >> y = 9:-1:5 >> c = xcorr(x,y) yields c = [ ] 12 Dr. A. Ranjith Ram arr@gcek.ac.in 6

7 Autocorrelation function ACF is given by c = xcorr(x), where x is a vector when x is an M x N matrix, is a large matrix with 2*M 1 rows whose N^2 columns contain the cross-correlation sequences for all combinations of the columns of x The zero th lag of the output correlation is in the middle of the sequence, at element or row M >> x = 1:5 >> c = xcorr(x) yields c = [ ] 13 Convolution of two Signals Convolution and polynomial multiplication : conv(x,y) c = conv(x, y) convolves vectors x and y c is a vector of length length(x) + length(y) 1 If x and y are vectors of polynomial coefficients, convolving them is equivalent to multiplying the two polynomials >> x = 1:5 >> y = 9:-1:5 >> c = conv(x,y) yields c = [ ] 14 Dr. A. Ranjith Ram arr@gcek.ac.in 7

8 Transforms Laplace & Z The Laplace Transform gives the representation of a continuous time signal/system in s domain The Z Transform gives the representation of a discrete signal/system in z domain One can say that t is transformed to s and n is transformed to z. Both s & z are complex variables Both needs no numerical computation, but an integration/summation of a signal/sequence To cope with such a situation, MATLAB supports another type of variable the symbolic variable 15 The Symbolic Math Toolbox In MATLAB, symbolic variables are also possible, which do not possess any values, but only symbolic in nature Symbolic Math Toolbox provides functions for solving and manipulating symbolic math expressions and performing variable-precision arithmetic One can analytically perform differentiation, integration, simplification, transforms, and equation solving. Also, one can generate code for MATLAB and Simulink from symbolic math expressions. >> syms x >> diff(sin(x^2)) >> ans = 2*x*cos(x^2) 16 Dr. A. Ranjith Ram arr@gcek.ac.in 8

9 Laplace Transform Laplace Transform : laplace(); Inverse LT : ilaplace() >> syms t n >> f = t^2; >> disp(f); >> F = laplace(f); >> disp(f); >> disp('inverse Laplace transform is') >> f1 = ilaplace(f); >> disp(f1); 17 Z-Transform Z-Transform : ztrans(); Inverse ZT : iztrans() >> x = 0.5^n; >> disp(x); >> X = ztrans(x); >> disp(x); >> disp('inverse Z-Transform is'); >> x1 = iztrans(x); >> disp(x1); 18 Dr. A. Ranjith Ram arr@gcek.ac.in 9

10 Discrete Fourier Transform Discrete (Fast) Fourier Transform : fft(); Inverse DFT : ifft() fft(x) is the discrete Fourier transform (DFT) of vector x For matrices, the fft operation is applied to each column fft(x, N) is the N-point FFT, padded with zeros if x has less than N points and truncated if it has more. >> n = 1:50; >> x = cos((pi/8)*n) + cos((pi/20)*n); plot(x) >> X = fft(x); stem(abs(x)) >> xcap = ifft(x); plot(xcap) 19 Circular Convolution Modulo-N circular convolution : cconv() c = cconv(x, y, N) circularly convolves vectors x and y. c is of length N. If omitted, N defaults to length(x) + length(y) 1 When N = length(x) + length(y) 1, the circular convolution is equivalent to the linear convolution computed by conv() >> a = [ ]; >> b = [ ]; >> c = cconv(a,b,11) >> cref = conv(a,b) 20 Dr. A. Ranjith Ram arr@gcek.ac.in 10

11 Parseval s Theorem The energy of a signal/sequence is a constant, irrespective of the domain Steps: Find out the energy in time domain Transform the signal to frequency domain Find out the energy of the spectra Both values should be the same >> x = [ ]; >> e = sum(x.^2); % Energy from samples >> X = fft(x); >> E = sum(abs(x).^2)/8; % Energy from spectra 21 Discrete Time Systems Impulse Response Discrete Impulse Response : impz(b,a) b : numerator vector; a : denominator vector >> b=[ ]; >> a=[ ]; >> h = impz(b,a); % Impulse Response, h(n) >> stem(h); >> grid on; >> title('impulse Response'); >> ylabel('response'); >> xlabel('n'); 22 Dr. A. Ranjith Ram arr@gcek.ac.in 11

12 Systems Transfer Function >> sys = tf(b,a) creates a continuous-time transfer function SYS with numerator b and denominator a. >> sys = tf(b,a,ts) creates a discrete-time transfer function with sampling time TS (set TS = -1 if the sampling time is undetermined). >> b = [ ]; >> a = [ ]; >> sys = tf(b,a) sys = s^ s^ s^ s^ s s^ s^ s^ s^ s Systems Frequency Response [H,W] = freqz(b,a,n) returns the N-point complex frequency response vector H and the N-point frequency vector W in radians/sample of the digital system >> b = [ ]; >> a = [ ]; >> freqz(b,a) 24 Dr. A. Ranjith Ram arr@gcek.ac.in 12

13 Alternate Method >> b = [ ]; >> a = [ ]; >> h = impz(b,a); N = 1024; >> sh = fft(h,n); >> f = [0:N/2-1]*2/N; % Frequency Normalization >> subplot(2 1 1) >> plot(f,20*log10(abs(sh(1:n/2)))); >> p=unwrap(angle(sh))*180/pi; >> subplot(2 1 2) >> plot(f,p(1:n/2)); 25 TF & Frequency Response Transfer Function H(z), in 3-D plot Amplitude Response H(ω), in 1-D plot 26 Dr. A. Ranjith Ram arr@gcek.ac.in 13

14 Pole-Zero Plot Pole-zero plot of a digital system : zplane() >> b = [ ]; >> a = [ ]; >> zplane(b,a); >> title('pole-zero Plot'); >> grid on; 27 FIR Digital Filters FIR Digital filters can be designed using one of the following methods Window Method Frequency Sampling Method Optimal Design (Min-max) Method MATLAB functions : Window Method : fir1() Frequency Sampling Method : fir2() Optimal Design (Min-max) Method : firpm() 28 Dr. A. Ranjith Ram arr@gcek.ac.in 14

15 FIR Filter Design Window Method FIR filters are linear phase discrete time systems Since the FIR systems are having b n s only (a n s are zeros except a 0 ), the task is in finding b n s the numerator coefficients FIR filters can be designed classically by windowing technique Here the impulse response of the ideal filter is windowed to get a finite duration sequence If h d (n) is the impulse response of the desired (ideal) filter, the designed (actual) impulse response is given by h(n) = h d (n). w(n) where w(n) is the window function The transition band of the filter directly determines its order The selection of the window is based on the minimum stop band attenuation required 29 FIR Filter Design Window Method b = fir1(n,wn) designs an N'th order lowpass FIR digital filter It returns the filter coefficients in length N+1 vector b The cut-off frequency wn must be between 0 < wn < 1.0, with 1.0 corresponding to half the sample rate The filter b is real and has linear phase. The normalized gain of the filter at wn is 6 db b = fir1(n,wn,'high') designs an N'th order high-pass filter If wn is a two-element vector, wn = [w1 w2], fir1 returns an order N band-pass filter with pass-band w1 < w < w2 One can also specify b = fir1(n,wn,'bandpass') If wn = [w1 w2], b = fir1(n,wn,'stop') will design a band-stop filter 30 Dr. A. Ranjith Ram arr@gcek.ac.in 15

16 FIR Filter Design (Contd ) b = fir1(n,wn,window) designs an N-th order FIR filter using the N+1 length window vector of the impulse response If empty or omitted, fir1 uses a Hamming window of length N+1 For a complete list of available windows, see the help for the window function Kaiser and Chebwin can be specified with an optional trailing argument For example, b = fir1(n,wn,kaiser(n+1,4)) uses a Kaiser window with beta = 4 b = fir1(n,wn,'high',chebwin(n+1,r)) uses a Chebyshev window with r decibels of relative side-lobe attenuation 31 FIR Filter Design (Contd ) For filters with a gain other than zero at fs/2, e.g., high-pass and band-stop filters, N must be even. Otherwise, N will be incremented by one In this case the window length should be specified as N+2 By default, the filter is scaled so the center of the first pass band has magnitude exactly one after windowing Use a trailing 'noscale' argument to prevent this scaling, e.g., b = fir1(n,wn,'noscale') b = fir1(n,wn,'high','noscale') b = fir1(n,wn,wind,'noscale') We can also specify the scaling explicitly, e.g. fir1(n,wn,'scale') 32 Dr. A. Ranjith Ram arr@gcek.ac.in 16

17 FIR Filter Design example % Design a 48th-order FIR band-pass filter with % pass-band 0.35 <= w <= 0.65 b = fir1(48,[ ]); freqz(b,1,512) 33 If N (Order) is not Given? Mitra's book for Digital Signal Processing quotes Kaiser with a simple estimate N = [-20 * log10 (sqrt (rp * rs)) - 13] / [14.6 (ws - wp) / 2π] where rp and rs are the pass-band ripple peak and stop-band ripple peak values, ws and wp are the stop-band and pass-band edges (which are normalized to 2π, where 2π = fs). So, N is a direct function of the ripple peaks and an inverse function of the normalized transition band width) If rp and rs are both 0.01 and (ws - wp) / 2π = 0.1 then N = [-20 * log10 (sqrt (10 ^ -4)) - 13] / [1.46] = [-20 * -2-13] / 1.46 = 27/1.46 = 18.5 or, rounded up to Dr. A. Ranjith Ram arr@gcek.ac.in 17

18 Optimal Design of FIR Filters Parks-McClellan optimal equi-ripple FIR filter design : firpm() b = firpm(n,f,a) returns a length N+1 linear phase (real, symmetric coefficients) FIR filter which has the best approximation to the desired frequency response described by F and A in the mini-max sense F is a vector of frequency band edges in pairs, in ascending order between 0 and 1 1 corresponds to the Nyquist frequency or half the sampling frequency At least one frequency band must have a non-zero width A is a real vector, the same size as F which specifies the desired amplitude of the frequency response of the resultant filter B 35 Optimal Design of FIR Filters The desired response is the line connecting the points (F(k), A(k)) and (F(k+1), A(k+1)) for odd k; firpm treats the bands between F(k+1) and F(k+2) for odd k as transition bands or don't care regions Thus the desired amplitude is piecewise linear with transition bands The maximum error is minimized. For filters with a gain other than zero at f s /2, e.g., high-pass and band-stop filters, N must be even. Otherwise, N will be incremented by one Alternatively, you can use a trailing 'h' flag to design a type 4 linear phase filter and avoid incrementing N. b = firpm(n,f,a,w) uses the weights in W to weight the error 36 Dr. A. Ranjith Ram arr@gcek.ac.in 18

19 Optimal Design of FIR Filters >> % Example of a length 31 low-pass filter >> h=firpm(30,[ ]*2,[ ]); >> freqz(h,1,512) gives the frequency response : 37 IIR Filters IIR systems are not having any linear phase property Occur as having recursive structures Since the IIR systems are having both a n s and b n s, the task is in finding both of the numerator and denominator coefficients Classical analog filter design theory could be used for designing IIR filters Hence there are many approximations Butterworth, Chebyshev, Elliptical, etc. Butterworth approximation is having a smooth passband as well as a stopband But a Chebyshev approximation is either the passband having a ripple (Type-I) or the stopband having a ripple (Type-II) 38 Dr. A. Ranjith Ram arr@gcek.ac.in 19

20 IIR Filters Transfer Function Zero-pole-gain to second-order sections model conversion : zp2sos() [sos, g] = zp2sos(z,p,k) finds a matrix sos in second-order sections form and a gain g which represent the same system H(z) as the one with zeros in vector z, poles in vector p and gain in scalar k The poles and zeros must be in complex conjugate pairs sos is an L by 6 matrix with the following structure : [b 01 b 11 b 21 1 a 11 a 21 b 02 b 12 b 22 1 a 12 a b 0L b 1L b 2L 1 a 1L a 2L ] 39 IIR Transfer Function (Contd ) Each row of the sos matrix describes a 2nd order transfer function H(z) : (b0k + b1k z^-1 + b2k z^-2) (1 + a1k z^-1 + a2k z^-2), where k is the row index. g is a scalar which accounts for the overall gain of the system If g is not specified, the gain is embedded in the first section The second order structure thus describes the system H(z) as: H(z) = g H1(z) H2(z)... HL(z) Embedding the gain in the first section when scaling a direct-form II structure is not recommended and may result in erratic scaling. To avoid embedding the gain, use zp2sos with two outputs. 40 Dr. A. Ranjith Ram arr@gcek.ac.in 20

21 IIR Transfer Function (Contd ) Zero-pole to transfer function conversion : zp2tf() [b,a] = zp2tf(z,p,k) forms the transfer function b(s)/a(s), given a set of zero locations in vector z, a set of pole locations in vector p, and a gain in scalar k Vectors b and a are returned with numerator and denominator coefficients in descending powers of s. Zero-pole to state-space conversion : zp2ss() [A,B,C,D] = zp2ss(z,p,k) calculates a state-space model x = Ax + Bu y = Cx + Du, the A,B,C,D matrices are returned in block diagonal form 41 IIR Filter Design Butterworth Butterworth digital and analog filter design : butter() [b, a] = butter(n,wn) designs an N th order lowpass Butterworth filter and returns the filter coefficients in length N+1 vectors b and a The coefficients are listed in descending powers of z. The cutoff frequency Wn must be 0 < wn < 1, with 1 corresponding to half the fs If wn is a two-element vector, wn = [w1 w2], butter returns an order 2N bandpass filter with passband w1 < w < w2 [b,a] = butter(n,wn,'high') designs a highpass filter; [b,a] = butter(n,wn,'low') designs a lowpass filter and [b,a] = butter(n,wn,'stop') is a bandstop filter if wn = [w1 w2] 42 Dr. A. Ranjith Ram arr@gcek.ac.in 21

22 IIR Filter Design butter & buttord When used as [z,p,k] = butter( ), the zeros and poles are returned in length N column vectors z and p, and the gain in scalar k When used with four left-hand arguments, as in [A,B,C,D] = butter(...), state-space matrices are returned butter(n,wn,'high','s') designs an analog HP Butterworth filter. In this case, wn is in [rad/s] and it can be > 1 Butterworth filter order selection : buttord() [N, wn] = buttord(wp,ws,rp,rs) returns the order N of the lowest order digital Butterworth filter which has a passband ripple of no more than rp db and a stopband attenuation of at least rs db 43 IIR Filter Design Buttord wp and ws are the passband and stopband edge frequencies, normalized from 0 to 1 (where 1 corresponds to pi radians/sample). e.g., Lowpass: wp = 0.1, ws = 0.2 & Bandstop: wp = [0.1.8], ws = [ ] buttord also returns wn, the Butterworth natural frequency (or, the 3 db frequency) to use with butter to achieve the specifications [N, wn] = buttord(wp, ws, rp, rs, 's') does the computation for an analog filter, in which case wp and ws are in radians/second When rp is chosen as 3 db, the wn in butter is equal to wp in buttord 44 Dr. A. Ranjith Ram arr@gcek.ac.in 22

23 IIR Filter Design Butterworth Example >> % For data sampled at 1000 Hz, design a lowpass >> % filter with less than 3 db of ripple in the >> % passband, defined from 0 to 40 Hz, and at least >> % 60 db of attenuation in the stopband, defined >> % from 150 Hz to the Nyquist frequency (500 Hz) >> Wp = 40/500; >> Ws = 150/500; >> [n,wn] = buttord(wp,ws,3,60); % Gives the order >> [b,a] = butter(n,wn); % Butterworth filter design >> freqz(b,a,512,1000);% Plots the frequency response 45 IIR Filter Design Chebyshev [N,wp] = cheb1ord(wp,ws,rp,rs) returns the order N of the lowest order digital Chebyshev Type-I filter which has a passband ripple of no more than rp db and a stopband attenuation of at least rs db [b,a] = cheby1(n,r,wp) designs an Nth order lowpass digital Chebyshev filter with r decibels of peak-to-peak ripple in the passband [N,ws] = cheb2ord(wp,ws,rp,rs) returns the order N of the lowest order digital Chebyshev Type-II filter which has a passband ripple of no more than rp db and a stopband attenuation of at least s db [b,a] = cheby2(n,r,wst) : N th order LP digital Chebyshev filter with the stopband ripple r db down and stopband-edge frequency wst 46 Dr. A. Ranjith Ram arr@gcek.ac.in 23

24 1-D Filtering Process One-dimensional digital filtering : filter() y = filter(b,a,x) filters the data in vector x with the filter described by vectors a and b to create the filtered data y The filter is a Direct Form II Transposed implementation of the standard difference equation, a(1)y(n) = b(1)x(n) + b(2)x(n-1) (nb+1)x(n-nb) a(2)y(n-1)... a(na+1)y(n-na) If a(1) is not equal to 1, filter normalizes the filter coefficients by a(1). filter() always operates along the first non-singleton dimension, namely dimension 1 for column vectors and non-trivial matrices, and dimension 2 for row vectors 47 1-D Filtering Process Example >> wp=0.3; ws=0.4; rp=1; rs=10; % Specifications >> [n,wn] = buttord(wp,ws,rp,rs); % Order selection >> [b,a] = butter(n,wn); % IIR filter design >> figure(1); freqz(b,a); >> title('the frequency response of LP IIR filter'); >> t=1:100; >> sig1 = sin(0.1*pi*t); % Signal inside the PB >> sig2 = sin(0.6*pi*t); % Signal inside the SB >> sig = sig1 + sig2; >> filsig = filter(b,a,sig); figure(2); plot(filsig) 48 Dr. A. Ranjith Ram arr@gcek.ac.in 24

25 Window Visualization Tool wvtool >> % Analysis of a single window >> w = chebwin(64,100); >> wvtool(w); >> % Analysis of multiple vectors >> w1 = bartlett(64); >> w2 = hamming(64); >> wvtool(w1,w2); 49 Filter Visualization Tool fvtool [b,a] = butter(5, 0.5); h1 = fvtool(b, a); 50 Dr. A. Ranjith Ram arr@gcek.ac.in 25

26 Filter Design & Analysis Tool fdatool fdatool; % Lanches fdatool 51 Signal Processing Tool sptool sptool opens the sptool window which allows you to import, analyze, and manipulate signals, filters, and spectra in a GUI environment sptool is a suite of four tools : Signal Browser, Filter Design and Analysis Tool (fdatool), fvool, and Spectrum Viewer. These tools provide access to many of the signal, filter, and spectral analysis functions in the toolbox. 52 Dr. A. Ranjith Ram arr@gcek.ac.in 26

27 Thanks 53 Dr. A. Ranjith Ram 27

Filters. Phani Chavali

Filters. Phani Chavali Filters Phani Chavali Filters Filtering is the most common signal processing procedure. Used as echo cancellers, equalizers, front end processing in RF receivers Used for modifying input signals by passing

More information

Brief Introduction to Signals & Systems. Phani Chavali

Brief Introduction to Signals & Systems. Phani Chavali Brief Introduction to Signals & Systems Phani Chavali Outline Signals & Systems Continuous and discrete time signals Properties of Systems Input- Output relation : Convolution Frequency domain representation

More information

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP DIGITAL FILTERS!! Finite Impulse Response (FIR)!! Infinite Impulse Response (IIR)!! Background!! Matlab functions 1!! Only the magnitude approximation problem!! Four basic types of ideal filters with magnitude

More information

Octave Functions for Filters. Young Won Lim 2/19/18

Octave Functions for Filters. Young Won Lim 2/19/18 Copyright (c) 2016 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 4 Digital Signal Processing Prof. Mark Fowler Note Set #34 IIR Design Characteristics of Common Analog Filters Reading: Sect..3.4 &.3.5 of Proakis & Manolakis /6 Motivation We ve seenthat the Bilinear

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

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

(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

Digital Processing of Continuous-Time Signals

Digital Processing of Continuous-Time Signals Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

Digital Filter Design using MATLAB

Digital Filter Design using MATLAB Digital Filter Design using MATLAB Dr. Tony Jacob Department of Electronics and Electrical Engineering Indian Institute of Technology Guwahati April 11, 2015 Dr. Tony Jacob IIT Guwahati April 11, 2015

More information

Digital Processing of

Digital Processing of Chapter 4 Digital Processing of Continuous-Time Signals 清大電機系林嘉文 cwlin@ee.nthu.edu.tw 03-5731152 Original PowerPoint slides prepared by S. K. Mitra 4-1-1 Digital Processing of Continuous-Time Signals Digital

More information

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION Version 1. 1 of 7 ECE 03 LAB PRACTICAL FILTER DESIGN & IMPLEMENTATION BEFORE YOU BEGIN PREREQUISITE LABS ECE 01 Labs ECE 0 Advanced MATLAB ECE 03 MATLAB Signals & Systems EXPECTED KNOWLEDGE Understanding

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

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 41 Digital Signal Processing Prof. Mark Fowler Note Set #17.5 MATLAB Examples Reading Assignment: MATLAB Tutorial on Course Webpage 1/24 Folder Navigation Current folder name here Type commands here

More information

ELEC3104: Digital Signal Processing Session 1, 2013

ELEC3104: Digital Signal Processing Session 1, 2013 ELEC3104: Digital Signal Processing Session 1, 2013 The University of New South Wales School of Electrical Engineering and Telecommunications LABORATORY 4: DIGITAL FILTERS INTRODUCTION In this laboratory,

More information

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 2017 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date

More information

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 SMS045 - DSP Systems in Practice Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003 Lab Purpose This lab will introduce MATLAB as a tool for designing and evaluating digital

More information

4. Design of Discrete-Time Filters

4. Design of Discrete-Time Filters 4. Design of Discrete-Time Filters 4.1. Introduction (7.0) 4.2. Frame of Design of IIR Filters (7.1) 4.3. Design of IIR Filters by Impulse Invariance (7.1) 4.4. Design of IIR Filters by Bilinear Transformation

More information

ECE 4213/5213 Homework 10

ECE 4213/5213 Homework 10 Fall 2017 ECE 4213/5213 Homework 10 Dr. Havlicek Work the Projects and Questions in Chapter 7 of the course laboratory manual. For your report, use the file LABEX7.doc from the course web site. Work these

More information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler EECE 31 Signals & Systems Prof. Mark Fowler D-T Systems: FIR Filters Note Set #29 1/16 FIR Filters (Non-Recursive Filters) FIR (Non-Recursive) filters are certainly the most widely used DT filters. There

More information

Discretization of Continuous Controllers

Discretization of Continuous Controllers Discretization of Continuous Controllers Thao Dang VERIMAG, CNRS (France) Discretization of Continuous Controllers One way to design a computer-controlled control system is to make a continuous-time design

More information

FIR Filters in Matlab

FIR Filters in Matlab E E 2 7 5 Lab June 30, 2006 FIR Filters in Matlab Lab 5. FIR Filter Design in Matlab Digital filters with finite-duration impulse reponse (all-zero, or FIR filters) have both advantages and disadvantages

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

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives Objectives DSP Exercise The objective of this exercise is to provide hands-on experiences on ijdsp. It consists of three parts covering frequency response of LTI systems, pole/zero locations with the frequency

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

AUDIO SIEVING USING SIGNAL FILTERS

AUDIO SIEVING USING SIGNAL FILTERS AUDIO SIEVING USING SIGNAL FILTERS A project under V.6.2 Signals and System Engineering Yatharth Aggarwal Sagar Mayank Chauhan Rajan Table of Contents Introduction... 2 Filters... 4 Butterworth Filter...

More information

Massachusetts Institute of Technology Department of Electrical Engineering & Computer Science 6.341: Discrete-Time Signal Processing Fall 2005

Massachusetts Institute of Technology Department of Electrical Engineering & Computer Science 6.341: Discrete-Time Signal Processing Fall 2005 Massachusetts Institute of Technology Department of Electrical Engineering & Computer Science 6.341: Discrete-Time Signal Processing Fall 2005 Project Assignment Issued: Sept. 27, 2005 Project I due: Nov.

More information

Design of FIR Filters

Design of FIR Filters Design of FIR Filters Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner 1 FIR as a

More information

F I R Filter (Finite Impulse Response)

F I R Filter (Finite Impulse Response) F I R Filter (Finite Impulse Response) Ir. Dadang Gunawan, Ph.D Electrical Engineering University of Indonesia The Outline 7.1 State-of-the-art 7.2 Type of Linear Phase Filter 7.3 Summary of 4 Types FIR

More information

Digital Filters FIR and IIR Systems

Digital Filters FIR and IIR Systems Digital Filters FIR and IIR Systems ELEC 3004: Systems: Signals & Controls Dr. Surya Singh (Some material adapted from courses by Russ Tedrake and Elena Punskaya) Lecture 16 elec3004@itee.uq.edu.au http://robotics.itee.uq.edu.au/~elec3004/

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

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

Signal Processing Summary

Signal Processing Summary Signal Processing Summary Jan Černocký, Valentina Hubeika {cernocky,ihubeika}@fit.vutbr.cz DCGM FIT BUT Brno, ihubeika@fit.vutbr.cz FIT BUT Brno Signal Processing Summary Jan Černocký, Valentina Hubeika,

More information

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu Concordia University Discrete-Time Signal Processing Lab Manual (ELEC442) Course Instructor: Dr. Wei-Ping Zhu Fall 2012 Lab 1: Linear Constant Coefficient Difference Equations (LCCDE) Objective In this

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

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis Subtractive Synthesis CMPT 468: Subtractive Synthesis Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University November, 23 Additive synthesis involves building the sound by

More information

Analog Lowpass Filter Specifications

Analog Lowpass Filter Specifications Analog Lowpass Filter Specifications Typical magnitude response analog lowpass filter may be given as indicated below H a ( j of an Copyright 005, S. K. Mitra Analog Lowpass Filter Specifications In the

More information

Signal Processing of DC/DC converter inductor current measurement

Signal Processing of DC/DC converter inductor current measurement Signal Processing of DC/DC converter inductor current measurement By Yinjia Li Zakir Hussain Ranizai This thesis is presented as part of Degree of Bachelor of Science in Electrical Engineering Blekinge

More information

Signal processing preliminaries

Signal processing preliminaries Signal processing preliminaries ISMIR Graduate School, October 4th-9th, 2004 Contents: Digital audio signals Fourier transform Spectrum estimation Filters Signal Proc. 2 1 Digital signals Advantages of

More information

Experiment 4- Finite Impulse Response Filters

Experiment 4- Finite Impulse Response Filters Experiment 4- Finite Impulse Response Filters 18 February 2009 Abstract In this experiment we design different Finite Impulse Response filters and study their characteristics. 1 Introduction The transfer

More information

Performance Evaluation of Mean Square Error of Butterworth and Chebyshev1 Filter with Matlab

Performance Evaluation of Mean Square Error of Butterworth and Chebyshev1 Filter with Matlab Performance Evaluation of Mean Square Error of Butterworth and Chebyshev1 Filter with Matlab Mamta Katiar Associate professor Mahararishi Markandeshwer University, Mullana Haryana,India. Anju Lecturer,

More information

Analog Filter Design. Part. 2: Scipy (Python) Signals Tools. P. Bruschi - Analog Filter Design 1

Analog Filter Design. Part. 2: Scipy (Python) Signals Tools. P. Bruschi - Analog Filter Design 1 Analog Filter Design Part. 2: Scipy (Python) Signals Tools P. Bruschi - Analog Filter Design 1 Modules: Standard Library Optional modules Python - Scipy.. Scientific Python.... numpy: functions, array,

More information

Final Exam Solutions June 14, 2006

Final Exam Solutions June 14, 2006 Name or 6-Digit Code: PSU Student ID Number: Final Exam Solutions June 14, 2006 ECE 223: Signals & Systems II Dr. McNames Keep your exam flat during the entire exam. If you have to leave the exam temporarily,

More information

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003 CG40 Advanced Dr Stuart Lawson Room A330 Tel: 23780 e-mail: ssl@eng.warwick.ac.uk 03 January 2003 Lecture : Overview INTRODUCTION What is a signal? An information-bearing quantity. Examples of -D and 2-D

More information

ECE 2713 Design Project Solution

ECE 2713 Design Project Solution ECE 2713 Design Project Solution Spring 218 Dr. Havlicek 1. (a) Matlab code: ---------------------------------------------------------- P1a Make a 2 second digital audio signal that contains a pure cosine

More information

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet Lecture 10: Summary Taneli Riihonen 16.05.2016 Lecture 10 in Course Book Sanjit K. Mitra, Digital Signal Processing: A Computer-Based Approach, 4th

More information

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR 22 CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR 2.1 INTRODUCTION A CI is a device that can provide a sense of sound to people who are deaf or profoundly hearing-impaired. Filters

More information

UNIT IV FIR FILTER DESIGN 1. How phase distortion and delay distortion are introduced? The phase distortion is introduced when the phase characteristics of a filter is nonlinear within the desired frequency

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

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

Outline. Introduction to Biosignal Processing. Overview of Signals. Measurement Systems. -Filtering -Acquisition Systems (Quantisation and Sampling)

Outline. Introduction to Biosignal Processing. Overview of Signals. Measurement Systems. -Filtering -Acquisition Systems (Quantisation and Sampling) Outline Overview of Signals Measurement Systems -Filtering -Acquisition Systems (Quantisation and Sampling) Digital Filtering Design Frequency Domain Characterisations - Fourier Analysis - Power Spectral

More information

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3 IJSRD - International Journal for Scientific Research & Development Vol. 3, Issue 03, 2015 ISSN (online): 2321-0613 Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz.

More information

UNIT-II MYcsvtu Notes agk

UNIT-II   MYcsvtu Notes agk UNIT-II agk UNIT II Infinite Impulse Response Filter design (IIR): Analog & Digital Frequency transformation. Designing by impulse invariance & Bilinear method. Butterworth and Chebyshev Design Method.

More information

Advanced Digital Signal Processing Part 5: Digital Filters

Advanced Digital Signal Processing Part 5: Digital Filters Advanced Digital Signal Processing Part 5: Digital Filters Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical and Information Engineering Digital Signal

More information

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam Date: December 18, 2017 Course: EE 313 Evans Name: Last, First The exam is scheduled to last three hours. Open

More information

Digital Filter Design

Digital Filter Design Chapter9 Digital Filter Design Contents 9.1 Overview of Approximation Techniques........ 9-3 9.1.1 Approximation Approaches........... 9-3 9.1.2 FIR Approximation Approaches......... 9-3 9.2 Continuous-Time

More information

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems.

PROBLEM SET 6. Note: This version is preliminary in that it does not yet have instructions for uploading the MATLAB problems. PROBLEM SET 6 Issued: 2/32/19 Due: 3/1/19 Reading: During the past week we discussed change of discrete-time sampling rate, introducing the techniques of decimation and interpolation, which is covered

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

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

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT

Filter Banks I. Prof. Dr. Gerald Schuller. Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany. Fraunhofer IDMT Filter Banks I Prof. Dr. Gerald Schuller Fraunhofer IDMT & Ilmenau University of Technology Ilmenau, Germany 1 Structure of perceptual Audio Coders Encoder Decoder 2 Filter Banks essential element of most

More information

4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1

4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1 4/14/15 8:58 PM C:\Users\Harrn...\tlh2polebutter10rad see.rn 1 of 1 % Example 2pole butter tlh % Analog Butterworth filter design % design an 2-pole filter with a bandwidth of 10 rad/sec % Prototype H(s)

More information

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING 1. State the properties of DFT? UNIT-I DISCRETE FOURIER TRANSFORM 1) Periodicity 2) Linearity and symmetry 3) Multiplication of two DFTs 4) Circular convolution 5) Time reversal 6) Circular time shift

More information

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters (ii) Ability to design lowpass IIR filters according to predefined specifications based on analog

More information

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design EEM478-DSPHARDWARE WEEK12:FIR & IIR Filter Design PART-I : Filter Design/Realization Step-1 : define filter specs (pass-band, stop-band, optimization criterion, ) Step-2 : derive optimal transfer function

More information

3F3 Digital Signal Processing (DSP)

3F3 Digital Signal Processing (DSP) 3F3 Digital Signal Processing (DSP) Simon Godsill www-sigproc.eng.cam.ac.uk/~sjg/teaching Course Overview 12 Lectures Topics: Digital Signal Processing DFT, FFT Digital Filters Filter Design Filter Implementation

More information

ELEC Dr Reji Mathew Electrical Engineering UNSW

ELEC Dr Reji Mathew Electrical Engineering UNSW ELEC 4622 Dr Reji Mathew Electrical Engineering UNSW Filter Design Circularly symmetric 2-D low-pass filter Pass-band radial frequency: ω p Stop-band radial frequency: ω s 1 δ p Pass-band tolerances: δ

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

Lab 4 An FPGA Based Digital System Design ReadMeFirst

Lab 4 An FPGA Based Digital System Design ReadMeFirst Lab 4 An FPGA Based Digital System Design ReadMeFirst Lab Summary This Lab introduces a number of Matlab functions used to design and test a lowpass IIR filter. As you have seen in the previous lab, Simulink

More information

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS. Lecture 8 Today: Announcements: References: FIR filter design IIR filter design Filter roundoff and overflow sensitivity Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations

More information

Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 2017 ELEC 3004: Systems 1. Week Date Lecture Title

Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 2017 ELEC 3004: Systems 1. Week Date Lecture Title http://elec3004.com Digital Filters IIR (& Their Corresponding Analog Filters) 4 April 017 ELEC 3004: Systems 1 017 School of Information Technology and Electrical Engineering at The University of Queensland

More information

Electrical and Telecommunication Engineering Technology NEW YORK CITY COLLEGE OF TECHNOLOGY THE CITY UNIVERSITY OF NEW YORK

Electrical and Telecommunication Engineering Technology NEW YORK CITY COLLEGE OF TECHNOLOGY THE CITY UNIVERSITY OF NEW YORK NEW YORK CITY COLLEGE OF TECHNOLOGY THE CITY UNIVERSITY OF NEW YORK DEPARTMENT: Electrical and Telecommunication Engineering Technology SUBJECT CODE AND TITLE: DESCRIPTION: REQUIRED TCET 4202 Advanced

More information

DIGITAL FILTERING AND THE DFT

DIGITAL FILTERING AND THE DFT DIGITAL FILTERING AND THE DFT Digital Linear Filters in the Receiver Discrete-time Linear System Tidbits DFT Tidbits Filter Design Tidbits idealized system Software Receiver Design Johnson/Sethares/Klein

More information

Signals and Systems Using MATLAB

Signals and Systems Using MATLAB Signals and Systems Using MATLAB Second Edition Luis F. Chaparro Department of Electrical and Computer Engineering University of Pittsburgh Pittsburgh, PA, USA AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK

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

DESIGN OF FIR AND IIR FILTERS

DESIGN OF FIR AND IIR FILTERS DESIGN OF FIR AND IIR FILTERS Ankit Saxena 1, Nidhi Sharma 2 1 Department of ECE, MPCT College, Gwalior, India 2 Professor, Dept of Electronics & Communication, MPCT College, Gwalior, India Abstract This

More information

ECE 3793 Matlab Project 4

ECE 3793 Matlab Project 4 ECE 3793 Matlab Project 4 Spring 2017 Dr. Havlicek DUE: 5/3/2017, 11:59 PM What to Turn In: Make one file that contains your solution for this assignment. It can be an MS WORD file or a PDF file. For Problem

More information

LECTURER NOTE SMJE3163 DSP

LECTURER NOTE SMJE3163 DSP LECTURER NOTE SMJE363 DSP (04/05-) ------------------------------------------------------------------------- Week3 IIR Filter Design -------------------------------------------------------------------------

More information

Continuous-Time Analog Filters

Continuous-Time Analog Filters ENGR 4333/5333: Digital Signal Processing Continuous-Time Analog Filters Chapter 2 Dr. Mohamed Bingabr University of Central Oklahoma Outline Frequency Response of an LTIC System Signal Transmission through

More information

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2

Contents. Introduction 1 1 Suggested Reading 2 2 Equipment and Software Tools 2 3 Experiment 2 ECE363, Experiment 02, 2018 Communications Lab, University of Toronto Experiment 02: Noise Bruno Korst - bkf@comm.utoronto.ca Abstract This experiment will introduce you to some of the characteristics

More information

ASN Filter Designer Professional/Lite Getting Started Guide

ASN Filter Designer Professional/Lite Getting Started Guide ASN Filter Designer Professional/Lite Getting Started Guide December, 2011 ASN11-DOC007, Rev. 2 For public release Legal notices All material presented in this document is protected by copyright under

More information

Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer

Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer Armstrong Atlantic State University Engineering Studies MATLAB Marina Sound Processing Primer Prerequisites The Sound Processing Primer assumes knowledge of the MATLAB IDE, MATLAB help, arithmetic operations,

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

ECE503: Digital Filter Design Lecture 9

ECE503: Digital Filter Design Lecture 9 ECE503: Digital Filter Design Lecture 9 D. Richard Brown III WPI 26-March-2012 WPI D. Richard Brown III 26-March-2012 1 / 33 Lecture 9 Topics Within the broad topic of digital filter design, we are going

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

Introduction to Digital Signal Processing Using MATLAB

Introduction to Digital Signal Processing Using MATLAB Introduction to Digital Signal Processing Using MATLAB Second Edition Robert J. Schilling and Sandra L. Harris Clarkson University Potsdam, NY... CENGAGE l.earning: Australia Brazil Japan Korea Mexico

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

A filter is appropriately described by the transfer function. It is a ratio between two polynomials

A filter is appropriately described by the transfer function. It is a ratio between two polynomials Imaginary Part Matlab examples Filter description A filter is appropriately described by the transfer function. It is a ratio between two polynomials H(s) = N(s) D(s) = b ns n + b n s n + + b s a m s m

More information

MATLAB for Audio Signal Processing. P. Professorson UT Arlington Night School

MATLAB for Audio Signal Processing. P. Professorson UT Arlington Night School MATLAB for Audio Signal Processing P. Professorson UT Arlington Night School MATLAB for Audio Signal Processing Getting real world data into your computer Analysis based on frequency content Fourier analysis

More information

Signal Processing. Naureen Ghani. December 9, 2017

Signal Processing. Naureen Ghani. December 9, 2017 Signal Processing Naureen Ghani December 9, 27 Introduction Signal processing is used to enhance signal components in noisy measurements. It is especially important in analyzing time-series data in neuroscience.

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

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE) Code: 13A04602 R13 B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 (Common to ECE and EIE) PART A (Compulsory Question) 1 Answer the following: (10 X 02 = 20 Marks)

More information

ECSE-4760 Computer Applications Laboratory DIGITAL FILTER DESIGN

ECSE-4760 Computer Applications Laboratory DIGITAL FILTER DESIGN Rensselaer Polytechnic Institute ECSE-4760 Computer Applications Laboratory DIGITAL FILTER DESIGN Number of Sessions 4 INTRODUCTION This lab demonstrates the use of digital filters on a DSP. It consists

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

Multirate DSP, part 1: Upsampling and downsampling

Multirate DSP, part 1: Upsampling and downsampling Multirate DSP, part 1: Upsampling and downsampling Li Tan - April 21, 2008 Order this book today at www.elsevierdirect.com or by calling 1-800-545-2522 and receive an additional 20% discount. Use promotion

More information

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications EE4900/EE6720: Digital Communications 1 Lecture 3 Review of Signals and Systems: Part 2 Block Diagrams of Communication System Digital Communication System 2 Informatio n (sound, video, text, data, ) Transducer

More information

Multirate Digital Signal Processing

Multirate Digital Signal Processing Multirate Digital Signal Processing Basic Sampling Rate Alteration Devices Up-sampler - Used to increase the sampling rate by an integer factor Down-sampler - Used to increase the sampling rate by an integer

More information

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL

Part One. Efficient Digital Filters COPYRIGHTED MATERIAL Part One Efficient Digital Filters COPYRIGHTED MATERIAL Chapter 1 Lost Knowledge Refound: Sharpened FIR Filters Matthew Donadio Night Kitchen Interactive What would you do in the following situation?

More information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY Type of course: Compulsory GUJARAT TECHNOLOGICAL UNIVERSITY SUBJECT NAME: Digital Signal Processing SUBJECT CODE: 2171003 B.E. 7 th SEMESTER Prerequisite: Higher Engineering Mathematics, Different Transforms

More information

Digital Filtering: Realization

Digital Filtering: Realization Digital Filtering: Realization Digital Filtering: Matlab Implementation: 3-tap (2 nd order) IIR filter 1 Transfer Function Differential Equation: z- Transform: Transfer Function: 2 Example: Transfer Function

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