Question
need the code of the following for my matlab exercise in M ATLAB and listen to it with the soundsc() command. 1 The first two
need the code of the following for my matlab exercise
in M ATLAB and listen to it with the soundsc() command. 1 The first two lines of code in part 2.2(d) create a vector xx of values of a 2.5 Hz sinusoid. The frequency of your sinusoidal tone should be 2000 Hz and its duration should be 0.9 sec. Use a sampling rate (fs) equal to 11025 samples/sec. The sampling rate dictates the time interval between time points, so the time-vector should be defined as follows: tt = 0:(1/fs):dur; where fs is the desired sampling rate and dur is the desired duration (in seconds). Read the online help for both sound() and soundsc() to get more information on using this command. What is the length (number of samples) of your tt vector?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started