This is my code :
Fs = 16000;Channels = 1; bits = 16;
r= audioread('myWAVaudiofile.wav');
t = 0:1/Fs:(length(r)-1)/Fs;
subplot (2,1,1); plot (t,r,'LineWidth',1.5);
xlabel('time (sec)'); ylabel('Amplitude');
title('Time Domain plot of the Signal');
n = length (r); F = 0 :(n-1)*Fs/n;
F_0 = (-n/2:n/2-1).*(Fs/n);
subplot(2,1,2); plot(F_0,AY_0,'LineWidth',1.5);
xlabel('Frequency (Hz)'); ylabel('Amplitude');
title('Frequency Domain Plot Of Audio Signal');
How can I :
-Verify that that 12000" sample is indeed occurring at 0.75 sec spot.
-Verify the spectral spacing.
-What is the frequency (in Hz) at k = 8000 and k = 3000.