Ask Computer Network & Security Expert

Part A: AUDIO EXERCISES

prepare a Matlab function whose input is the name of the audio file (e.g. 'ENGE.wav' etc.).

1. The algorithm picks the array of the original signal and sets 5 out of every six consecutive values set to 0. That is,
zero five values, keep the next value, zero the next five values, keep the next value, etc. You most likely WILL 
need a loop (e.g. for) to do this.
2. Plot the original signal (array) and the modified signal (array) with 5-out-of-6 zeros on the same axes for 
comparison. (The two signals should be plotted on top of each other.) 
3. The title should be your name and the x-axis should be labeled as 'Indices'.
4. Zoom into the plot so that the difference between the two plots is clear: Paste this close-up image in addition to
the plot in 2.

Just replacing the values with zeros does not reduce the amount of data. 

5. Again take the original data array. What you really need to do is to eliminate every other value. That would make
the array half its original size (smaller to store).
6. Plot the original signal and the compressed signal on the same figure.
7. When you play the modified signal at the same sampling frequency it does not sound right. Think of a way to
make the signal sound like it should. Include the code inside the function which will do this task.

For the sample run, you can compress a signal of your choice. Show the command you used to run your function (with input values). 

You must also include the Matlab function that performs all these tasks: the function must plot the different sets of plots one after the other for both 5-out-of-6 zeros part and the 1-out-of-2 compression part (see how by typing 'figure' in the command window helps).

PART B: IMAGE EXERCISES

1. Create a function that takes a filename as an input (e.g. 'ENGE.jpg' etc.) and has no outputs. It reads the file and creates a figure with 6 plots, in two columns by three rows. In each plot there will be an altered form of the original images as follows.

a. Original image
b. Darker image
c. Lighter image
d. Cropped image (plot the bottom left quadrant of the original image)
e. Original image with a large white square placed in the middle of the original image (choose any reasonable size).
f. Small red square boxes plotted across the diagonal of the original image (again choose any reasonable size for
these red squares). Basically, it should look like a thick red line going from the Top Left to the Bottom Right. 

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M982313

Have any Question?


Related Questions in Computer Network & Security

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Advanced network design assessment - human factors in

Advanced Network Design Assessment - Human factors in network analysis and design Purpose of the assessment - This assignment is designed to assess students' knowledge and skills related to the following learning outcome ...

Advanced network design assessment - human factors in

Advanced Network Design Assessment - Human factors in network analysis and design Purpose of the assessment - This assignment is designed to assess students' knowledge and skills related to the following learning outcome ...

Assignment descriptionproject scope a typical network

Assignment Description Project Scope: A typical network layout diagram of a firm is given below for illustrative purposes only. The service requirements are enclosed. Figure. Network layout of a firm Service requirements ...

Assignment descriptionproject scope a typical network

Assignment Description Project Scope: A typical network layout diagram of a firm is given below for illustrative purposes only. The service requirements are enclosed. Figure. Network layout of a firm Service requirements ...

After reading this weeks materials please respond to two 2

After reading this week's materials, please respond to TWO (2) of the following questions. AND PROVIDE CITATION IN APA 1. Describe the differences between bus, ring, star and mesh topologies. 2. Explain the TCP/IP Model ...

The abstract should not be more than 250 words describe

The abstract should not be more than 250 words. Describe your project, focusing on research questions and research method for next stage of the project. 1. Introduction [The introduction should describe what the project ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As