Can I get the exact matlab coding for the following questions: 1. Create your ow
ID: 1845808 • Letter: C
Question
Can I get the exact matlab coding for the following questions:
1. Create your own audio file that is at least 4 seconds long (the exact time duration is not really important, but do not make the file too long). Use the wavrecord command in MATLAB and a sampling frequency of 10000 Hz. You can also try to find a wav file online. Use the sound command in MATLAB to play the sound. Make sure the recording is fine.
2. Using the wavread command, read the signal into a vector called x. Also read the sampling frequency in to a variable called Fs. Make sure you understand what this sampling frequency means. Plot the received signal as a function of time. Your time axis must have units in seconds.
Questions 3 and 4 are stated below:
Explanation / Answer
omega = linspace(-10*pi,10*pi,1000);
x = (j*omega)./(1+j*omega);
subplot(2,1,1),plot(omega,abs(x));
xlabel('w'),ylabel('|x(j w)|');
subplot(2,1,2),plot(omega,phase(x));
xlabel('w'),ylabel('phase(x(j w))');
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.