Design of multirate signal processing and their applications

Assignment Help MATLAB Programming
Reference no: EM132359434

Study of decimation and interpolation techniques -

Unit Learning Outcomes

a. Development and implementation of signal processing algorithms in MATLAB or Scilab

b. In-depth design of digital filters

c. Understand the design of multirate signal processing and their applications

Assignment

Introduction

The objective of this assessment is to practice signal processing theoretical concepts by numerical evaluation and software coding in MATLAB (or Octave). Students must individually attempt each part to understand their strengths and weaknesses during the lectures. All the plots must have the title of each student's MIT ID.

Part A: System Analysis
1) Using the z-transform (ROC), prove that the system with h(n) = anu(n), |a| < 1 is BIBO stable?
2) For the system of section 1) prove that the system is time invariant.
3) Is the system of section 1) memoryless? Why?
4) Find the z-transform of a finite length sequence
       = 0.2n 0 ≤ n ≤ 4
h[n] = {0  otherwise

Plot its ROC and discuss its stability?

3 Part B: Analyzing a system in Z and time domain

Consider a causal system given by the following transfer function:

H(z) = ((1 - 0.2z-1)/(1 - 0.5z-1)(1 - 0.3z-1)) + 2/(1 - 2z-1)                          (1)

1) Assume the system is causal, and draw its region of convergence (ROC) in the z-plane
2) Is the system stable or unstable? Why?
3) Determine the system difference equation in the form of

N                   M
Σ aky[n - k ]= Σ bkx[n - k ]                                                                   (2)
k=0               k =0

4) Sketch the magnitude frequency response of the system in dB scale, 20*log10(|H(e)|, between 0 and Π
5) Suppose the above transfer function is a filter, what type of filter is it? (a low-pass, high- pass, band-pass, band-stop or all-pass)
6) Find the system impulse response (use partial fraction decomposition of the equation (1))
7) Assume zero initial condition and input ??[n] = δ(n), find the impulse response of the system, h[n], for the first 10 samples and compare it with the previous section.
8) Write a MATLAB program to find the impulse response of the following system using polynomial divisions and the partial fraction decompositions (Use slide 28 of the lecture note and Lab 4) .

H(z) =  (z + 1.2 - 1.15z-1 + 0.85z-2 - 0.8z-3 - 0.15z-4)/(1 - 0.8z-1 - 0.15z-2)

4 Part C: image decimation Using MATLAB

In this section, you will see the effect of downsampling on a picture. Run the Code in Table 1.

Table 1. MATLAB Codes for image decimation


% image decimation with Matlab

R=imread('High_Freq_picture.png');

U=R(:,:,1); % Separate the Red image

drv=2;% decimation rate vertical

drh=2;% decimation rate horizontal

V1=U(1:drv:end,1:drh:end);

figure;imshow(V1);title('Your student ID')

Change the vertical and horizontal decimation rates a combination of drv=2 or 4 and drh=2 or 4 and plot all the pictures separately and explain the effect of aliasing on the higher frequency section of the images (The higher frequency sections are the sections with close parallel lines).

5 Part D: Signal decimation and interpolation in MATLAB

1. Load the signal "x" into your workspace by using the command "load original_signal.mat". "x" has 200000 samples with a sampling frequency of 24 Mega samples per second taken from a modulated baseband signal.

2. Plot the first 2000 samples of this signal.

3. Decimate (down sample) the signal by 3 times using the command "y=x(1:3:end);"

4. Find the power spectrum of "x" and "y" using the MATLAB periodogram and draw them in dB on one axis. Set the FFT size 512. Discuss the similarities and differences of the spectrums. % power sperctrum of the signal x
Fs=24e6;
[pxx,fxx] = periodogram(x,hanning(length(x)),512,Fs,'power'); figure;plot(fxx,10*log10(pxx))
% power sperctrum of the signal y Fs=Fs/3;
[pxx,fxx] = periodogram(y,hanning(length(y)),512,Fs,'power'); hold on;plot(fxx,10*log10(pxx))

5. Repeat the section 5) with the MATLAB "pwelch" function instead of "periodogram" and explain the differences.

6. Zero pad (up-sample) the "y" signal sample with 2 zeros in the middle of adjacent samples to increase the sampling frequency by 3 times, and call the resultant signal "zy".

% sample code [loop based] zy=[]; for k=1:length(y)
zy=[zy y(k) 0 0];
end

% similar sample code [vector based] zy0=[y;zeros(2,length(y))]; zy=reshape(zy0,1,length(y)*3);

7. Load a root raised cosine filter impulse response, h, from the given file "rrc_filter.mat" into your workspace using the command "load rrc_filter.mat;"

8. Filter your signal ("zy") using the command "yzf=conv(x,h);".

9. Find the power spectrum of "yzx" and "yz" in dB and draw them on one axis.

10. Discuss the zero-padding and filtering effects on the signal spectrum.

11. Use the cubic spline interpolation in MATLAB to interpolate the signal "y" with an up sampling rate of 3 to find "ys".

12. Draw the spectrum of "ys" and compare it with the result of section 8.

13. Repeat section 10 and 11 by changing the method to ‘linear' and ‘nearest'.

14. Filter the signals "ys" in section 12 with the given filter and find and draw the spectrum and discuss the result.

15. Give an overview of the work you have done and discuss the strength and weakness of each used interpolation methods in Part B.

6 Part E: System Eigen function and Eigen Value

The impulse response of a moving average system is h(n) = [1 1 1 1]

1) Find H(e), the Fourier transform of the system and plot is from 0 ≤ ω ≤ Π in steps of 0.1Π in MATLAB
2) Find the response of the system to the input signal R(n) = ej0.2Πn
3) Use MATLAB to generate a complex sequence of signal R for 0 ≤ n ≤ 100.
4) Find the system response to the input R using convolution.
5) Check whether the amplitude of the system corresponds with the theoretical output you found in 2)
6) Measure the frequency of the real part of the output and see whether it has changed?

Verified Expert

So actually we have followed each steps according what is asked in question the main thing we have learned how to find out the transfer function and we also know from the assignment ,how to.Apply LTI property on a system and after that we find out the frequency response as well as it linearize and from that we came to the conclusion which filter we have i.e band pass and other.

Reference no: EM132359434

Questions Cloud

Basics of public budgeting and financial management : Expenditures detail how collected funds are paid out or spent. Usually the budget is printed on a spreadsheet clearly indicating revenue and expenditures
Company were global conglomerate : What challenges would you face if your company were a global conglomerate? Explain how the passages support your opinion.
How do you manage your privacy and self-disclosures online : How do you manage your privacy and self-disclosures online? Do you think it is ethical for school officials or potential employers to make admission
Define the ethical dilemma : Define the ethical dilemma in your scenario and include specific information about the laws, regulations, or ethics that were violated in the state
Design of multirate signal processing and their applications : ME606 - Digital Signal Processing - Study of decimation and interpolation techniques - Measure the frequency of the real part of the output and see whether
Compare emerging tools and techniques for system management : MN506 - System Management - System Management Tools for Administration - Compare emerging tools and techniques for system management
Modern network for a sydney central station to support byod : ME504 - Advanced Networking - Detailed design of a modern network for a Sydney Central Station to support BYOD - design and develop NETWORK requirements
Scope management and health checks : Submit a scope statement to the town council for the July 4th parade and picnic he has volunteered to project manage - Scope Management and Health Checks
What is leaders role in creating high performance workplace : What is the leaders role in creating high performance workplace and What role does clear communication play in high performance workplaces

Reviews

len2359434

8/23/2019 12:21:14 AM

Grade Mark HD 80%+ Excellent Evaluation Logic is clear and easy to follow with strong arguments Sophistication and effectivity The presented solution demonstrated an extreme degree of sophistication Explanation All elements are present and well integrated. Reference style Clear styles with excellent source of references. Report structure and report presentation Proper writing. Professionally presented

len2359434

8/23/2019 12:21:03 AM

Section to be included in the report Description of the section Marks PART A System Analysis 4 PART B Analyzing a system in Z and time domain 8 PART C Image decimation Using MATLAB 5 PART D Signal decimation and interpolation in MATLAB 15 PART E System Eigen function and Eigen Value 6 Plagiarism Type of plagiarism - Copying of Matlab codes - Copy of other peoples works and journal articles - Contract cheating -100%

len2359434

8/23/2019 12:20:42 AM

Due Date Week 8 Submission Guidelines • All work must be submitted on Moodle by the due date along with a completed Assignment Cover Page. • The assignment must be in MS Word format, single line spacing, 11-pt Calibri (Body) font and 2 cm margins on all four sides of your page with appropriate section headings. • Reference sources must be cited in the text of the report, and listed appropriately at the end in a reference list using IEEE referencing style for School of Business and School of Information Technology and Engineering respectively.

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd