0% found this document useful (0 votes)
26 views

Experiments On MATLAB

The document describes experiments using MATLAB to design and analyze various digital filters, including: 1) Generating basic discrete-time signals like a delta function and sinusoid. 2) Convolving two sequences and plotting the result. 3) Designing IIR Butterworth lowpass, bandpass, highpass, and band-reject filters meeting various specifications, and plotting their frequency responses. 4) Designing Chebyshev I and II filters of various types to meet additional specifications. 5) Designing FIR lowpass, highpass, bandpass and band-reject filters using different window types and parameters.

Uploaded by

anoop_c_s
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Experiments On MATLAB

The document describes experiments using MATLAB to design and analyze various digital filters, including: 1) Generating basic discrete-time signals like a delta function and sinusoid. 2) Convolving two sequences and plotting the result. 3) Designing IIR Butterworth lowpass, bandpass, highpass, and band-reject filters meeting various specifications, and plotting their frequency responses. 4) Designing Chebyshev I and II filters of various types to meet additional specifications. 5) Designing FIR lowpass, highpass, bandpass and band-reject filters using different window types and parameters.

Uploaded by

anoop_c_s
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Experiments on MATLAB

1. Introduction to MATLAB
a) Generation of basic discrete time signals
Generate the following waveforms.
1. Delta function
2. Unit step sequence
3. Sinusoidal signal (Peak to peak amplitude= 10 , Frequency = 1Hz,
phase = 600)
4. Exponential sequence an u[n] where a = 0.9.
b) Convolution of 2 discrete time sequences
x[n] = [1 2 3 4 5] , y[n] = [ 7 6 5 4 3 2 1]. Plot the waveform after
convolution.
2. IIR filter design
a. Design an IIR Butterworth low pass filter with the following
specifications.
i. Maximum allowable attenuation in passband p = 0.8 dB.
ii. Minimum attenuation in stopband s = 30 dB
iii. Passband frequency p = 1kHz
iv. Stopband frequency s = 2KHz
Also plot the frequency response of the filter.
A signal f(t) = 2sin(1600t)+ sin(8000 t) is passed through the
filter. Plot the output waveform of the filter.
b. Design an IIR Butterworth band pass filter with the following
specifications.
i. Maximum allowable attenuation in passband p = 2 dB.
ii. Minimum attenuation in stopband s = 20 dB
iii. Normalised Passband frequencies between 0.2 and 0.4
iv. Normalised Stopband frequencies 0.1 and 0.5
Also plot the frequency response of the filter.
c. Design an IIR Butterworth high pass filter with the following
specifications.
i. p = 0.4 dB ii. s = 30 dB iii. s = 400Hz iv. p = 800Hz
d. Design an IIR Butterworth band reject filter to eliminate the 400Hz
components of the signal x(t) = 4sin(100t)+3sin(800t)
+2cos(1400t).
e. Design a 6th order Chebyshev I lowpass filter that extracts the dc
component from x(t) = 5+ sin10t.
f. Design a Chebyshev II highpass filter with = 1
ii. = 10 iii. s
= 0.2 iv. p = 0.3
g. Design a Chebyshev I bandpass filter with p = 2 dB ii. s = 20 dB
iii. p = [0.2 0.4] iv. s = [0.1 0.5]
h. Design a Chebyshev I bandreject filter with p = 2 dB ii. s = 20
dB iii. s = [0.2 0.4] iv. p = [0.1 0.5]
3. FIR filter design

a. Design an FIR low pass filter using Rectangular, Bartlett, Hanning,


Hamming and Blackman windows for cut-off frequency c = 0.5
and N=25.
b. Design an FIR high pass filter using Rectangular and Hamming
windows.
i. c = 0.5 ii. N=25.
c. Design an FIR band pass filter using Rectangular and Hamming
windows.
i. c1 = 0.25 ii. c2 = 0.75 iii. N=25.
d. Design an FIR band reject filter using Rectangular and Hamming
windows.
i. Cut off frequencies fc1 = 1KHz & fc2 = 3kHz
ii. Sampling frequency Fs=8KHz
iii. N=25.

You might also like