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

  Evaluate the main effects and the interaction

Do the results indicate that self-esteem is significantly higher on average for males at significance level of 0.01 - Evaluate the main effects and the interaction at a level of significance of 0.05.

  Write a matlab m-code which solve finite difference equation

Write a Matlab M-code program which solves the Finite Difference equations for the unknown temperatures Ti where the value of N, the number of internal nodes in the vertical direction.

  Implement linear support vector machine to classify data

code to implement linear Support vector machine to classify data (without using matlab built in function).

  Plot with three different shading scheme (one plot per each

create two vectors X and Y of values from (-pi) to pr with a spacing of pi/10. Define the vector Z as: Z=(sin(sqrt(x^2+y^2)))/sqrt(x^2+y^2)

  Find the potential energy stored in each spring

The potential energy stored in a spring is kx2/2, where k is the spring constant and x is the compression in the spring. The force required to compress the spring is kx. The following table gives the data for five springs:

  Design model for thermostat by using either uppal or matlab

Design a model for thermostat by using either UPPAl or MATLAB and Modeling for House (room) Thermostat-Cyber physical system

  Matlab function to perform gauss-jordan elimination

Write a matlab function to perform gauss-jordan elimination with pivoting. Modify the pivoting so that it is using the row with the highest absolute value rather than the first non-zero row.

  Non-linear interpolation using polyfit function

Illustrate results of your interpolation by plotting a small piece of data before and after interpolation on the same graph using the "plot" and "hold on" commands. Submit the script and the plot in a single Word file.

  Design and implement a rounding procedure

MFIN706: Assignment - Mean Variance Portfolio Selection Strategies. Design and implement a rounding procedure, so that you always trade integer number of shares

  Perform basic digital image processing

Write a Matlab program to perform basic Digital Image processing steps such as Resizing, Segmentation, Color Thresholding.

  Will compute the value of each piece of clothing.

write a script in MATLAB that will compute the value of each piece of clothing.

  Determine the stability status for the digital system

Sketch the z-plane pole-zero plot and determine the stability status for the following digital system.

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