Provide a plot where the end-result is plotted

Assignment Help MATLAB Programming
Reference no: EM131665958

Assignment: Introduction to MATAB programming

Using the provided program record_sound.m record two different sounds (each eight seconds long). One of them ought to contain at least 6 words of your choosing (a sentence). The other one should be a music of your choosing. You may rename the my_sound.wav file generated by the program after recording the first time around in order to avoid re-writing it (so that you have two separate wave files that you can manipulate). Create a script file called run_sound_processing.m and start by reading in those two wave files into two different variables. Note that the sampling frequency should be the same (8K samples/sec) for both recording since you made use of the same program to generate the wave files.

For this assignment perform the following tasks:

1. Process the one that contains the sentence so that only the words are left. That is, you are to remove the quite instances. A plot of the waveform against sample indices and MATLAB's data cursor should be of great help here.

2. Process the other one (music) such that it mimics a gradual increase or decrease (your choice) in volume.

3. Now mix the two by simply adding them. This will require that the two arrays are of the same size (that is not the case since you have removed portions of quite instances from one of the recordings). You will need to crop the one that contains music in order to be able to add them. The end result ought to sound your sentence with music in the background that will gradually close to take over (or the other way around depending on the type of volume modification you opt to use).

4. Additionally, do provide a plot where the end-result is plotted against sample indices into one subplot and another one where the end-result is plotted against time in seconds.

5. Lastly identify the maximum voltage value and where it occurs (at what instances time t in seconds AND sample index) and make use of green circle to show it in your subplots. Also, make use of text() to indicate the information about max into each subplots. Text should be located at the max of both waveforms/sub-plots.

You will find useful files under MATLAB files folder. Other useful materials are indexing and plotting chapters.

Attachment:- Record-Sound.rar

Reference no: EM131665958

Questions Cloud

Seitz and hite outline a market approach : Seitz and Hite outline a 'market approach', a 'state approach', and a 'civil society approach' to the alleviation of poverty.
What is the multi factor productivity ratio : What is the multi factor productivity ratio? Did productivity increase or decrease for the course process?
Consider a policy or procedure at your facility that believe : Search for at least two research reports (preferably systematic reviews) that address the policy or procedure
Explain how neuro instruments reduced the manufacturing cost : Target costs, effect of product-design changes on product costs. Neuro Instruments uses a manufacturing costing system with one direct-cost category.
Provide a plot where the end-result is plotted : Provide a plot where the end-result is plotted against sample indices into one subplot and another one where the end-result is plotted against time in seconds.
Despite the high cost of care for health care : Health care costs in the United States continue to increase. Despite the high cost of care for health care in the United States, quality indicators and outcomes
How do you think you will feel while breaking the norm : Conduct an experiment in which you break a folkway, a norm governing everyday behavior. How do you think you will feel while breaking the norm?
Problems of managing data resources : Quoting a live example; elucidate the problems of managing data resources in a traditional file environment and how are they solved by a database management.
Preparing for business start-up : In Andrew Atherton's article, "Preparing for business start-up: "pre-start" activities in the new venture creation dynamic,"

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