Write a matlab program to generate a huffman code

Assignment Help MATLAB Programming
Reference no: EM132314691 , Length: word count:2000

Learning Outcomes

e. Evaluate multiuser communication and resource sharing techniques;

f. Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices.

Assignment Description

The assignment has two (2) parts.

- Part-A is targeted to test the problem based learning and research based skill of the students;
- Part-B is targeted to test simulation skill of the students.

Note: Students should work in teams of four (4) students each. Every student should find a team mate. Students are encouraged to work with even people they are not accustomed to.

Part-A:

Purpose of this part of the assessment:

The purpose of this assignment is to motivate students to understand the importance of multiuser resource allocation techniques employed in the uplink of modern digital communication networks using wireless medium for information transmission. Students also develop skills in information gathering and technical documentation.

Description of the assessment:

Background:

Digital communication networks are usually accessed and used by multiple users at the same time. As the resources are finite and cannot serve all users seeking access to them at a given time, multi- user schemes are used for resource assignment. There are different competing resource allocation schemes in the uplink (i.e. from user to the network) which are generally called multiple access or multiuser schemes.

Requirements:

This task requires students to study and critique the multiuser resource allocation schemes used in the uplink of modern technologies: LTE-Advanced, LTE, Mobile WIMAX, CDMA2000, WCDMA and UMTS.

This assignment exposes the student to a real-world applications of digital communication in mobile wireless communication. In doing so the student shall acquire skills to understand the real-world requirements, critically review the existing techniques and write a technical report based on his or her investigation.

The requirements are found in the suggested approach, submission guideline and in the marking criteria table below:

Suggested approach:

1. The students are required to analyse the requirements for the design and selection of the uplink multiuser schemes used in modern wireless digital communication systems.
2. The students must do a literature review on current practices on uplink resource allocation in digital mobile communication networks.
3. The students are required to write a technical report on requirements, review and analysis on the case study. Please refer to the marking scheme table below for further information.

Submission Guidelines:

Your assignment should be completed according to the General Guidelines for Presentation of Academic Work.

1. successful completion of required tasks
2. quality of figures

a. Proper reference for the figures
b. comments
c. meaningful names
2. accompanying documentation including

a. Table of contents and page numbers
b. The cover page - indicating your names, declaration and signatures.
c. List of references used (IEEE referencing style) as evidence of research depth.

Part-B:

Purpose of this part of the assessment:

The purpose of this part of the assignment is to motivate students to improve their coding and simulation skills.

Question 1: Amplitude Modulation (AM)

Consider the message or modulating signal m(t)=Amcos(2πf0t) with frequency f0=60 Hz, amplitude Am=4V and the carrier signal c(t)= Accos(2πfct + φ) with voltage amplitude Ac=1V, frequency fc=800 MHz and phase φ=π/4. We want to compare suppressed carrier AM (SC-AM) and full-carrier AM (FC- AM) and their variants.

1523_figure.jpg

DSB-SC AM signal: u(t)=m(t)c(t)
DSB-FC AM signal: v(t)=[1 + m(t)/Ac]*c(t)

(a) Using Matlab, sketch the waveforms of m(t), u(t)=m(t)c(t) and v(t)=[1 + m(t)/Ac]*c(t) in one figure. Explain what you observe from the figures.
(b) Using Matlab sketch the spectra of m(t), u(t)=m(t)c(t) and v(t)=[1 + m(t)/Ac]*c(t) in one figure.

Question 2: Huffman coding

Consider a source with the seven symbols in its alphabet s = {'s0' 's1' 's2' 's3' 's4' 's5' 's6'} which has the probabilities p = [0.18 0.21 0.2 0.26 0.03 0.05 0.07].

(a) Write a MATLAB function ‘entropy' to compute the entropy of the source.
(b) Use your function ‘entropy' to find the entropy of the given source.
(c) Write a MATLAB program to generate a Huffman code for the source.

Reference no: EM132314691

Questions Cloud

Write a report outlining the ethical implications of changes : ICT710 - ICT Professional Practice and Ethics - University of the Sunshine Coast - Assessment of the ethical consequences of moving to a digital firm
Focused critical interpretation of william shakespeare : Write a focused critical interpretation of William Shakespeare's Richard II or Much Ado about Nothing. The analysis must be both original and insightful.
Business professionals are aware of social networking : business professionals are aware of social networking and the importance of strong online reputations, most are still learning to manage their online presences
Leave no trace raises number of ethical issues and dilemmas : The film, Leave No Trace raises a number of ethical issues and dilemmas. The story itself is a fictionalized version of events that occurred in Portland.
Write a matlab program to generate a huffman code : Write a MATLAB function entropy to compute the entropy of the source and Use your function ‘entropy' to find the entropy of the given source
You will persuade your audience to read or watch book-movie : You will choose a book or movie that you believe your audience should read or watch. You will persuade your audience to read or watch book or movie.
Develop a disaster recovery plan for the Information Systems : Analyse the earthquake case study above and develop a disaster recovery plan for the Information Systems of your organisation
Explain leadership style in detail : Compare and distinguish various leadership styles that could potentially be adopted by the selected project manager - Determine characteristics
What is a true belief : What is a True Belief? Explain the four truth tests and illustrate each with an example of a belief that would be true by its standards.

Reviews

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