Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

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

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M92474660
  • Price:- $55

Priced at Now at $55, Verified Solution

Have any Question?


Related Questions in MATLAB

Lab assignment - matlab matrix relationallogical operators

Lab Assignment - MATLAB Matrix, Relational/Logical Operators and Plotting This laboratory exercise/assignment will involve you 1) practicing multiplication operators in MATLAB; 2) practicing relational and logical operat ...

Prepare a 3 - 10 pages long reportprepare a presentation

Prepare a 3 - 10 pages long report Prepare a presentation with 5 - 9 slides. The slides will include introduction (need and similar work), theoretical background (tested neural networks), Data, Results (Comparison of the ...

Suppose that a student has the option of enrolling for a

Suppose that a student has the option of enrolling for a single elective during a term. The student must select a course from a limited list of options: "English, " "History, " "Biology, " "Computer, " or "Math." Constru ...

Recitation problems -1 determine the highest real root of

Recitation Problems - 1. Determine the highest real root of f(x) = 2x 3 - 11.7x 2 + 17.7x - 5 using the Newton-Raphson method with at least four iterations. Start with an initial guess of x 0 = 3. 2. Determine the real r ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Suppose that you have used some concept learning algorithm

Suppose that you have used some concept learning algorithm to learn a hypothesis h1 from some training data. You are interested in knowing the accuracy that the hypothesis can be expected to achieve on the underlying pop ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Assignment matlab programmingusing appropriate matlab

Assignment: MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

  • 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