Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2022 Grenoble France September 19 23 2022 Proceedings Part 4 Lnai 13716

Authors: Massih-Reza Amini ,Stephane Canu ,Asja Fischer ,Tias Guns ,Petra Kralj Novak ,Grigorios Tsoumakas

1st Edition

3031264118, 978-3031264115

More Books

Students also viewed these Databases questions

Question

Develop successful mentoring programs. page 400

Answered: 1 week ago