Question: To analyze Matlab's ability to modify audio waveforms, we will examine a simple sine wave. Begin by copying and pasting the following into Matlab script
To analyze Matlab's ability to modify audio waveforms, we will examine a simple sine wave.
Begin by copying and pasting the following into Matlab script editor:
Fs1= 1/8000; t= [0 : Fs1 :2]';
This is simply a sampling frequency for your sine wave that you will need to collect results.
Next, input the sine wave by saying:
y=sin (2 * pi * 500* t)
Next, listen to the sound produced by this sine wave by typing:
sound (y);
Then run the code. (You may need headphones if you're using a computer lab)
To complete this quest, answer the following questions in the submission box below.
- What is the frequency of this sine wave, sin (2 * pi * 500* t)? How do you know?
- What happens when you multiply the amplitude of the sine wave by
- A constant value > 10
- A constant value < .2
- A decaying exponential, i.e. e^(-5t)
- An increasing exponential, i.e. e^(5t)
(For more information see the "Engineering Tools - MATLAB" chapter from Pathfinder)
Submission Details
In order to complete this quest, you need to click the "Start Quest" button, and then upload a word document that anwers the following questions:
- What is the frequency of this sine wave, sin (2 * pi * 500* t)? How do you know?
- What happens when you multiply the amplitude of the sine wave by
- A constant value > 10
- A constant value < .2
- A decaying exponential, i.e. e^(-5t)
- An increasing exponential, i.e. e^(5t)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
