Question: Write matlab code for Following. Dataset (audio1.wav) is an audio signal sampled at 44.1 kHz. i. Estimate the mean using the entire data. Plot this

Write matlab code for Following.

Dataset (audio1.wav) is an audio signal sampled at 44.1 kHz.

i. Estimate the mean using the entire data. Plot this as a horizontal dashed line on a new figure.

ii. Estimate the mean from the first N points of the data, letting N vary from 1 to the maximum number of samples in the dataset. Overlay a plot of the computed means vs. the number of points N on the plot from step i). Comment on what you observe.

iii. Estimate the mean using a moving window approach1 . Consider the following lengths of the window: 30 data points (i.e. 30 day moving average) for the stock data and 441 samples (i.e., average over 10 ms of data) for the audio file. Superimpose the computed means on the plot from step i). Comment on what you observe. iv. Repeat step iii) with the following values for window lengths: 90 data points (i.e. 3-month moving average) for stock data and 882 samples (i.e. average over 20 ms of data) for the audio file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!