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

  Implement stochastic model in matlab

Implement this stochastic model in MATLAB - The same fundamental model can be implemented as a stochastic model by use of the Gillespie algorithm.

  Predict flood area by using rainfall data

I need help with ANN (Matlab) to predict flood area by using rainfall data and some images that created by ArcGIS.

  Calculate and plot the polynomials

Write a script to calculate and plot the polynomials, and then perform simple arithmetic on them - This question belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve polynomials and to perform certain operati..

  Error between the exact solution and explicit solution

Calculate the error between the exact solution and explicit solution and draw the exact solution and compare the results.

  Fingerprint watermarking techniques

Need to investigate the best method to embed watermark image into fingerprint image.

  Considering the integral

Using the code, generate the first 40 terms: show the result using the format long e. Comment about your results.

  How do you create a new script or function in matlab

What is the difference between a script and function. How do you create a new script or function in MATLAB

  Derive and solve a model of an insulated water tank

Determine the steady state conditions at t

  Secant method to tryt to find out the root

create a function that will use the secant method to tryt to find out the root

  Prompts the user to enter grades in a loop

Define a function that takes two input parameters, a vector of test scores and a scalar passing grade. The function returns the fraction of passing grades as a number in the range

  Use the matrix index number as the parameter for the x axis

Allow MATLAB® to use the matrix index number as the parameter for the x-axis. 5.3 Plot the following functions on the same graph for x values from - p to p, selecting spacing to create a smooth plot: y1 sin1x2 y2 sin1 2x2 y3 sin1 3x2

  Write a function called pendulum

Write a function called halfsum that takes as input an at most two-dimensional array - Write a function called pendulum

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